splited lua into multiple sources

This commit is contained in:
2026-03-10 16:15:02 +03:00
parent 673835618c
commit e9600ad42b
7 changed files with 503 additions and 434 deletions

17
source/lua/internal.hpp Normal file
View File

@@ -0,0 +1,17 @@
//
// Created by orange on 07.03.2026.
//
#pragma once
#ifdef OMATH_ENABLE_LUA
#include <sol/sol.hpp>
namespace omath::lua::detail
{
void register_vec2(sol::table& omath_table);
void register_vec3(sol::table& omath_table);
void register_vec4(sol::table& omath_table);
void register_color(sol::table& omath_table);
void register_shared_types(sol::table& omath_table);
void register_engines(sol::table& omath_table);
}
#endif