diff options
Diffstat (limited to 'examples/heightmap/main.lua')
| -rw-r--r-- | examples/heightmap/main.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/heightmap/main.lua b/examples/heightmap/main.lua index db03e97..91c532f 100644 --- a/examples/heightmap/main.lua +++ b/examples/heightmap/main.lua @@ -40,8 +40,6 @@ function RL.init() camera:setTarget( { 0, 0, 0 } ) camera:setUp( { 0, 1, 0 } ) camera.mode = camera.MODES.ORBITAL - -- camera.mode = camera.MODES.FREE - -- camera.mode = camera.MODES.FIRST_PERSON heigthImage = RL.LoadImage( RL.GetBasePath().."../resources/images/heightmap.png" ) @@ -78,7 +76,7 @@ function RL.init() material = RL.LoadMaterialDefault() RL.SetMaterialTexture( material, RL.MATERIAL_MAP_ALBEDO, groundTexture ) - matrix = RL.MatrixMultiply( RL.MatrixIdentity(), RL.MatrixTranslate( { -4, 0, -4 } ) ) + matrix = RL.MatrixTranslate( { -4, 0, -4 } ) end function RL.update( delta ) |
