automated snapshot
This commit is contained in:
@@ -283,7 +283,7 @@ var (
|
||||
FlourescentColors = makeFlourescentColors()
|
||||
)
|
||||
|
||||
func Clamp(c rl.Color, min uint8, max uint8) rl.Color {
|
||||
func Clamp(c color.RGBA, min uint8, max uint8) rl.Color {
|
||||
return rl.NewColor(
|
||||
uint8(rl.Clamp(float32(c.R), float32(min), float32(max))),
|
||||
uint8(rl.Clamp(float32(c.G), float32(min), float32(max))),
|
||||
|
||||
Reference in New Issue
Block a user