diff options
Diffstat (limited to 'src/shaders')
| -rw-r--r-- | src/shaders/world.moon | 8 |
1 files changed, 5 insertions, 3 deletions
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 |
