| 486 | |
| 487 | |
| 488 | int LuaSceneNodeMgr::SetSceneNodeRadius(lua_State* L) { |
| 489 | LuaSceneNode* sceneNode = CheckLuaSceneNode(L, 1); |
| 490 | const float rad = luaL_checkfloat(L, 2); |
| 491 | if (sceneNode) { |
| 492 | sceneNode->publicSetRadius(rad * rad); |
| 493 | } |
| 494 | lua_settop(L, 1); |
| 495 | return 1; |
| 496 | } |
| 497 | |
| 498 | |
| 499 | int LuaSceneNodeMgr::SetSceneNodeUseArrays(lua_State* L) { |
nothing calls this directly
no test coverage detected