Add to string conversion for glm types in lua

This commit is contained in:
Riyyi
2021-01-29 00:58:50 +01:00
parent 4b10c84adf
commit 58cd3b4116
5 changed files with 24 additions and 5 deletions
+2
View File
@@ -18,6 +18,7 @@ LuaScript = {
end,
update = function(self, deltaTime)
self.camera = getCameraComponent()
if self.camera.type == CameraType.Orthographic then
@@ -25,6 +26,7 @@ LuaScript = {
elseif self.camera.type == CameraType.Perspective then
LuaScript:updatePerspective(deltaTime)
end
end,
updateOrthographic = function(self, deltaTime)