From 89a8f94ac0206412c1a2d7b8766d97dbdbd36253 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Tue, 21 Jan 2025 16:03:25 -0600 Subject: work --- src/shaders/world.moon | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/shaders/world.moon') diff --git a/src/shaders/world.moon b/src/shaders/world.moon index e9ddcc9..9fffe7a 100644 --- a/src/shaders/world.moon +++ b/src/shaders/world.moon @@ -16,7 +16,7 @@ s_mv = mat4( 1, 0, 0, 0, 0, aspect, 0, 0, 0, 0, 1, 0, - -0.5, 0.5, 0, 4 + -0.0, 0.5, 0, 4 ) p_mv = mat4( 1 / ((win.width / win.height) * math.tan(view_angle / 2)), 0, 0, 0, @@ -236,8 +236,10 @@ node = shader_shim.world\append(am.depth_test("less")\append(am.cull_face("front node\action(() => bind = self("bind") bind.time = am.current_time! - bind.world_x = math.sin(am.current_time!) * 2 - bind.world_y = math.cos(am.current_time!) * 2 + --bind.world_x = math.sin(am.current_time!) * 2 + --bind.world_y = math.cos(am.current_time!) * 2 + bind.world_x = world.world_x + bind.world_y = world.world_y ) { node: node -- cgit v1.2.3-70-g09d2