Terrain is still broken, player moves in the correct relative directions now :)

This commit is contained in:
2018-03-23 08:54:23 -05:00
parent dfc6a0cfe8
commit 0b0d307d2a
3 changed files with 42 additions and 34 deletions

View File

@@ -25,7 +25,7 @@ class IMICFPS
# Model.new(type: :obj, file_path: "objects/tree.obj", z: -5)
# Model.new(type: :obj, file_path: "objects/tree.obj", x: -2, z: -6)
# Model.new(type: :obj, file_path: "objects/sponza.obj", scale: 1, y: -0.2)
@terrain = Terrain.new(size: 20)
@terrain = Terrain.new(size: 20, height: 0)
@camera = Camera.new(x: 0, y: -2, z: 1)
@player = Player.new(x: 1, y: 0, z: -10)