| 584 | |
| 585 | |
| 586 | int LuaSceneNodeMgr::GetSceneNodePosition(lua_State* L) { |
| 587 | LuaSceneNode* sceneNode = CheckLuaSceneNode(L, 1); |
| 588 | if (sceneNode == NULL) { |
| 589 | lua_pushnil(L); |
| 590 | return 1; |
| 591 | } |
| 592 | const fvec4& s = sceneNode->getSphere(); |
| 593 | lua_pushfloat(L, s.x); |
| 594 | lua_pushfloat(L, s.y); |
| 595 | lua_pushfloat(L, s.z); |
| 596 | return 3; |
| 597 | } |
| 598 | |
| 599 | |
| 600 | int LuaSceneNodeMgr::GetSceneNodeRadius(lua_State* L) { |
nothing calls this directly
no test coverage detected