Skip to content

Commit 8802ad9

Browse files
committed
fix
1 parent 2ac508d commit 8802ad9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

source/lua/lua_engines.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
//
44
#ifdef OMATH_ENABLE_LUA
55
#include "omath/lua/lua.hpp"
6+
#include "omath/omath.hpp"
7+
#include "omath/projection/error_codes.hpp"
68
#include <omath/engines/cry_engine/camera.hpp>
79
#include <omath/engines/frostbite_engine/camera.hpp>
810
#include <omath/engines/iw_engine/camera.hpp>
@@ -33,6 +35,8 @@ namespace
3335
return "world position is out of screen bounds";
3436
case omath::projection::Error::INV_VIEW_PROJ_MAT_DET_EQ_ZERO:
3537
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";
3640
}
3741
return "unknown error";
3842
}

0 commit comments

Comments
 (0)