From ae1d0b65f16b24f2e0db39cb8baef4af57b2a12f Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 17 Mar 2024 10:38:30 +0200 Subject: Round and pubsub lib. --- examples/heightmap/main.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples/heightmap/main.lua') 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 ) -- cgit v1.2.3