Make color ctor public (#2222)

This commit is contained in:
Austin Shalit
2020-01-04 08:28:18 -08:00
committed by Peter Johnson
parent bc8f68bec7
commit f50d710a5e

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -754,7 +754,7 @@ public class Color {
* @param green Green value (0-1)
* @param blue Blue value (0-1)
*/
Color(double red, double green, double blue) {
public Color(double red, double green, double blue) {
this.red = roundAndClamp(red);
this.green = roundAndClamp(green);
this.blue = roundAndClamp(blue);