This commit is contained in:
2026-03-21 16:41:03 +03:00
parent 2ac508d6e8
commit 8802ad9af1

View File

@@ -3,6 +3,8 @@
//
#ifdef OMATH_ENABLE_LUA
#include "omath/lua/lua.hpp"
#include "omath/omath.hpp"
#include "omath/projection/error_codes.hpp"
#include <omath/engines/cry_engine/camera.hpp>
#include <omath/engines/frostbite_engine/camera.hpp>
#include <omath/engines/iw_engine/camera.hpp>
@@ -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";
}