aboutsummaryrefslogtreecommitdiff
path: root/examples/models_cubicmap.lua
diff options
context:
space:
mode:
authorghassanpl <kronikarz@gmail.com>2016-08-06 20:46:15 +0200
committerghassanpl <kronikarz@gmail.com>2016-08-06 20:46:15 +0200
commit1950085893f16d653f16ec0a0c991678e8c3cf53 (patch)
treee6f4ec40f983f50e427e19a49e7519fa1a51448c /examples/models_cubicmap.lua
parent82a0fae678a0f4b761bd5369222c956ffe173d31 (diff)
parent306945fe147ea7742880635e77a5c2656f6e1fdc (diff)
downloadraylib-1950085893f16d653f16ec0a0c991678e8c3cf53.tar.gz
raylib-1950085893f16d653f16ec0a0c991678e8c3cf53.zip
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
Diffstat (limited to 'examples/models_cubicmap.lua')
-rw-r--r--examples/models_cubicmap.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/models_cubicmap.lua b/examples/models_cubicmap.lua
index 53cb2c12..bae3bac2 100644
--- a/examples/models_cubicmap.lua
+++ b/examples/models_cubicmap.lua
@@ -32,17 +32,17 @@ local mapPosition = Vector3(-16.0, 0.0, -8.0) -- Set model position
UnloadImage(image) -- Unload cubesmap image from RAM, already uploaded to VRAM
SetCameraMode(CameraMode.ORBITAL) -- Set an orbital camera mode
-SetCameraPosition(camera.position) -- Set internal camera position to match our custom camera position
-SetCameraFovy(camera.fovy) -- Set internal camera field-of-view Y
+SetCameraPosition(camera.position) -- Set internal camera position to match our custom camera position
+SetCameraFovy(camera.fovy) -- Set internal camera field-of-view Y
-SetTargetFPS(60) -- Set our game to run at 60 frames-per-second
+SetTargetFPS(60) -- Set our game to run at 60 frames-per-second
-------------------------------------------------------------------------------------------
-- Main game loop
while not WindowShouldClose() do -- Detect window close button or ESC key
-- Update
---------------------------------------------------------------------------------------
- UpdateCamera(camera) -- Update internal camera and our camera
+ camera = UpdateCamera(camera) -- Update internal camera and our camera
---------------------------------------------------------------------------------------
-- Draw