| 473 | |
| 474 | |
| 475 | int LuaSceneNodeMgr::SetSceneNodePosition(lua_State* L) { |
| 476 | LuaSceneNode* sceneNode = CheckLuaSceneNode(L, 1); |
| 477 | const fvec3 pos(luaL_checkfloat(L, 2), |
| 478 | luaL_checkfloat(L, 3), |
| 479 | luaL_checkfloat(L, 4)); |
| 480 | if (sceneNode) { |
| 481 | sceneNode->publicSetCenter(pos); |
| 482 | } |
| 483 | lua_settop(L, 1); |
| 484 | return 1; |
| 485 | } |
| 486 | |
| 487 | |
| 488 | int LuaSceneNodeMgr::SetSceneNodeRadius(lua_State* L) { |
nothing calls this directly
no test coverage detected