Skip to content

Commit

Permalink
Move boxes closer
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Apr 7, 2024
1 parent 4b80ba6 commit 0b93bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/boxes.odin
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ boxes_frame :: proc(delta: f32) {
aspect = aspect_ratio,
near = 1,
)
mat *= glm.mat4Translate({0, 0, -1000 + scale * 800})
mat *= glm.mat4Translate({0, 0, -900 + scale * 720})
mat *= mat4_rotate_x(rotation.x)
mat *= mat4_rotate_y(rotation.y)

Expand Down

0 comments on commit 0b93bdb

Please sign in to comment.