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

27 lines
684 B
C++

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