Skip to content

Commit e4d5555

Browse files
committed
Reduce color length from 4 to 3
1 parent 2fe7ef1 commit e4d5555

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playground/DataTypeLib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const typeToLengthLib = {
66
vec2: 2,
77
vec3: 3,
88
vec4: 4,
9-
color: 4,
9+
color: 3,
1010
mat2: 1,
1111
mat3: 1,
1212
mat4: 1,
@@ -16,7 +16,7 @@ export const typeToLengthLib = {
1616
Vector2: 2,
1717
Vector3: 3,
1818
Vector4: 4,
19-
Color: 4,
19+
Color: 3,
2020
// cpu: other stuff
2121
Material: 1,
2222
Object3D: 1,

0 commit comments

Comments
 (0)