diff options
Diffstat (limited to 'scripts/cameraHandleResize.lua')
-rw-r--r-- | scripts/cameraHandleResize.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/cameraHandleResize.lua b/scripts/cameraHandleResize.lua index 7d1713d..97974f5 100644 --- a/scripts/cameraHandleResize.lua +++ b/scripts/cameraHandleResize.lua @@ -1,6 +1,7 @@ return function(entities, id, data) local camera = entities:getComponent(id, "camera") if camera then + print("resize camera!") camera.projection:perspectiveResize(data.width/data.height) end end |