From 1cb7574c9e699e14da07508e2dd7f77d401ec985 Mon Sep 17 00:00:00 2001 From: abc013 Date: Sat, 17 Feb 2024 21:54:37 +0100 Subject: [PATCH] Reduce color length from 4 to 3 --- playground/DataTypeLib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playground/DataTypeLib.js b/playground/DataTypeLib.js index 051fa36531f698..81b44c7b5e4fa6 100644 --- a/playground/DataTypeLib.js +++ b/playground/DataTypeLib.js @@ -6,7 +6,7 @@ export const typeToLengthLib = { vec2: 2, vec3: 3, vec4: 4, - color: 4, + color: 3, mat2: 1, mat3: 1, mat4: 1, @@ -16,7 +16,7 @@ export const typeToLengthLib = { Vector2: 2, Vector3: 3, Vector4: 4, - Color: 4, + Color: 3, // cpu: other stuff Material: 1, Object3D: 1,