add Transform and Rigidbody components (test)

This commit is contained in:
MihailRis
2024-06-27 07:43:38 +03:00
parent f70e923c7c
commit 94dd69350d
4 changed files with 34 additions and 4 deletions
+4
View File
@@ -48,6 +48,10 @@ static void create_libs(lua::State* L) {
openlib(L, "vec4", vec4lib);
openlib(L, "world", worldlib);
// components
openlib(L, "Rigidbody", rigidbodylib);
openlib(L, "Transform", transformlib);
addfunc(L, "print", lua::wrap<l_print>);
}