summaryrefslogtreecommitdiff
path: root/examples/free_camera3d
diff options
context:
space:
mode:
Diffstat (limited to 'examples/free_camera3d')
-rw-r--r--examples/free_camera3d/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/free_camera3d/main.lua b/examples/free_camera3d/main.lua
index 842adc8..342751e 100644
--- a/examples/free_camera3d/main.lua
+++ b/examples/free_camera3d/main.lua
@@ -10,8 +10,8 @@ local camera = {}
local targetVisible = false
function RL.init()
- local mPos = Vec2:new( RL.GetMonitorPosition( monitor ) )
- local mSize = Vec2:new( RL.GetMonitorSize( monitor ) )
+ local mPos = Vec2:newT( RL.GetMonitorPosition( monitor ) )
+ local mSize = Vec2:newT( RL.GetMonitorSize( monitor ) )
local winSize = Vec2:new( 1028, 720 )
RL.SetWindowTitle( "Free Camera3D" )