From 8802ad9af1d9c10daae9ed4cad0c942db44db094 Mon Sep 17 00:00:00 2001 From: Orange Date: Sat, 21 Mar 2026 16:41:03 +0300 Subject: [PATCH] fix --- source/lua/lua_engines.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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"; }