mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-09 08:44:35 +00:00
31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
//
|
|
// Created by orange on 07.03.2026.
|
|
//
|
|
#pragma once
|
|
#ifdef OMATH_ENABLE_LUA
|
|
#include <sol/forward.hpp>
|
|
namespace omath::lua
|
|
{
|
|
class LuaInterpreter final
|
|
{
|
|
public:
|
|
static void register_lib(lua_State* lua_state);
|
|
|
|
private:
|
|
static void register_vec2(sol::table& omath_table);
|
|
static void register_vec3(sol::table& omath_table);
|
|
static void register_vec4(sol::table& omath_table);
|
|
static void register_matrices(sol::table& omath_table);
|
|
static void register_quaternion(sol::table& omath_table);
|
|
static void register_color(sol::table& omath_table);
|
|
static void register_hud(sol::table& omath_table);
|
|
static void register_triangle(sol::table& omath_table);
|
|
static void register_3d_primitives(sol::table& omath_table);
|
|
static void register_collision(sol::table& omath_table);
|
|
static void register_shared_types(sol::table& omath_table);
|
|
static void register_engines(sol::table& omath_table);
|
|
static void register_pattern_scan(sol::table& omath_table);
|
|
};
|
|
}
|
|
#endif
|