mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add standard components test
This commit is contained in:
parent
e0e5faa4a8
commit
c54be7b2b1
6 changed files with 46 additions and 11 deletions
|
|
@ -49,8 +49,8 @@ static void create_libs(lua::State* L) {
|
|||
openlib(L, "world", worldlib);
|
||||
|
||||
// components
|
||||
openlib(L, "Rigidbody", rigidbodylib);
|
||||
openlib(L, "Transform", transformlib);
|
||||
openlib(L, "__rigidbody", rigidbodylib);
|
||||
openlib(L, "__transform", transformlib);
|
||||
|
||||
addfunc(L, "print", lua::wrap<l_print>);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue