diff --git a/source/lua/lua_engines.cpp b/source/lua/lua_engines.cpp index 0467446..a270542 100644 --- a/source/lua/lua_engines.cpp +++ b/source/lua/lua_engines.cpp @@ -3,6 +3,8 @@ // #ifdef OMATH_ENABLE_LUA #include "omath/lua/lua.hpp" +#include "omath/omath.hpp" +#include "omath/projection/error_codes.hpp" #include #include #include @@ -33,6 +35,8 @@ namespace return "world position is out of screen bounds"; case omath::projection::Error::INV_VIEW_PROJ_MAT_DET_EQ_ZERO: return "inverse view-projection matrix determinant is zero"; + case omath::projection::Error::PERSPECTIVE_DIVIDER_LESS_EQ_ZERO: + "perspective divider is less or equal to zero"; } return "unknown error"; }