From e36bad2ec35cae8740f8562e6f787f7a7ea60bf6 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Mon, 5 Jan 2026 10:25:36 +0000 Subject: [PATCH] feat: Adjust cube position in model matrix for improved visibility --- scripts/cube_logic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cube_logic.lua b/scripts/cube_logic.lua index b84912f..b99502c 100644 --- a/scripts/cube_logic.lua +++ b/scripts/cube_logic.lua @@ -500,7 +500,7 @@ local function create_spinning_cube() local function compute_model_matrix(time) local rotation = math3d.rotation_y(time * rotation_speed) local scale = scale_matrix(1.5, 1.5, 1.5) -- Make cube 3x3x3 units - local position = math3d.translation(0.0, 3.0, 0.0) -- Center of the room + local position = math3d.translation(0.0, 5.0, 0.0) -- Center of the room return math3d.multiply(position, math3d.multiply(rotation, scale)) end