From a828a8e2e1e58df3e010644ff43b411e2b12b1a5 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Wed, 7 Jan 2026 15:07:02 +0000 Subject: [PATCH] feat(cube_logic): Update create_spinning_cube to apply color and add object type for differentiation --- scripts/cube_logic.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cube_logic.lua b/scripts/cube_logic.lua index 2a7bb34..519bf62 100644 --- a/scripts/cube_logic.lua +++ b/scripts/cube_logic.lua @@ -871,10 +871,11 @@ local function create_spinning_cube() end return { - vertices = cube_vertices, - indices = (#cube_indices_double_sided > 0) and cube_indices_double_sided or cube_indices, + vertices = apply_color_to_vertices({0.75, 0.45, 0.25}), + indices = cube_indices, compute_model_matrix = compute_model_matrix, shader_keys = {shader_key}, + object_type = \"spinning_cube\", } end