refactored to class

This commit is contained in:
2026-03-10 18:14:29 +03:00
parent f707ac1adb
commit 9058ea9b39
12 changed files with 40 additions and 35 deletions

View File

@@ -6,9 +6,9 @@
#include <sol/sol.hpp>
#include <omath/utility/color.hpp>
namespace omath::lua::detail
namespace omath::lua
{
void register_color(sol::table& omath_table)
void LuaInterpreter::register_color(sol::table& omath_table)
{
omath_table.new_usertype<omath::Color>(
"Color",