We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac508d commit 8802ad9Copy full SHA for 8802ad9
1 file changed
source/lua/lua_engines.cpp
@@ -3,6 +3,8 @@
3
//
4
#ifdef OMATH_ENABLE_LUA
5
#include "omath/lua/lua.hpp"
6
+#include "omath/omath.hpp"
7
+#include "omath/projection/error_codes.hpp"
8
#include <omath/engines/cry_engine/camera.hpp>
9
#include <omath/engines/frostbite_engine/camera.hpp>
10
#include <omath/engines/iw_engine/camera.hpp>
@@ -33,6 +35,8 @@ namespace
33
35
return "world position is out of screen bounds";
34
36
case omath::projection::Error::INV_VIEW_PROJ_MAT_DET_EQ_ZERO:
37
return "inverse view-projection matrix determinant is zero";
38
+ case omath::projection::Error::PERSPECTIVE_DIVIDER_LESS_EQ_ZERO:
39
+ "perspective divider is less or equal to zero";
40
}
41
return "unknown error";
42
0 commit comments