Files
omath/source/lua/lua_engine_cry.cpp
2026-03-10 17:51:02 +03:00

27 lines
630 B
C++

//
// Created by orange on 07.03.2026.
//
#ifdef OMATH_ENABLE_LUA
#include "engine_utils.hpp"
#include <omath/engines/cry_engine/camera.hpp>
#include <omath/engines/cry_engine/constants.hpp>
namespace
{
struct CryEngineTraits
{
using PitchAngle = omath::cry_engine::PitchAngle;
using ViewAngles = omath::cry_engine::ViewAngles;
using Camera = omath::cry_engine::Camera;
};
} // namespace
namespace omath::lua::detail
{
void register_cry_engine(sol::table& omath_table)
{
register_engine<CryEngineTraits>(omath_table, "cry");
}
} // namespace omath::lua::detail
#endif