(buffer []float32, index int, value float32, changed *bool)
| 80 | } |
| 81 | |
| 82 | func setBufferValue(buffer []float32, index int, value float32, changed *bool) { |
| 83 | if buffer[index] != value { |
| 84 | buffer[index] = value |
| 85 | *changed = true |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | // colorToFloat32 returns the float32 representation of the given color |
| 90 | func colorToFloat32(c color.Color) float32 { |
no outgoing calls
no test coverage detected