We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aed073 commit 5eaa83eCopy full SHA for 5eaa83e
internal/color.go
@@ -3,7 +3,9 @@ package internal
3
import "github.com/google/go-cmp/cmp"
4
5
type Color struct {
6
- R, G, B float64
+ R float64
7
+ G float64
8
+ B float64
9
}
10
11
func NewColor(r, g, b float64) Color {
internal/matrix.go
@@ -12,8 +12,9 @@ var Identity4 = NewMatrix4([]float64{
12
})
13
14
type Matrix struct {
15
- rows, cols int
16
- elems []float64
+ rows int
+ cols int
17
+ elems []float64
18
19
20
func NewMatrix(elems []float64, numRows, numCols int) Matrix {
0 commit comments