Skip to content

Commit

Permalink
Reduce color length from 4 to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
abc013 committed Feb 17, 2024
1 parent edc5ebe commit 1cb7574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/DataTypeLib.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const typeToLengthLib = {
vec2: 2,
vec3: 3,
vec4: 4,
color: 4,
color: 3,
mat2: 1,
mat3: 1,
mat4: 1,
Expand All @@ -16,7 +16,7 @@ export const typeToLengthLib = {
Vector2: 2,
Vector3: 3,
Vector4: 4,
Color: 4,
Color: 3,
// cpu: other stuff
Material: 1,
Object3D: 1,
Expand Down

0 comments on commit 1cb7574

Please sign in to comment.