MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / SetSceneNodeUseArrays

Method SetSceneNodeUseArrays

src/lua/LuaSceneNode.cpp:499–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497
498
499int LuaSceneNodeMgr::SetSceneNodeUseArrays(lua_State* L) {
500 LuaSceneNode* sceneNode = CheckLuaSceneNode(L, 1);
501 if (sceneNode) {
502 sceneNode->renderNode.useArrays = lua_tobool(L, 2);
503 }
504 lua_settop(L, 1);
505 return 1;
506}
507
508
509int LuaSceneNodeMgr::SetSceneNodeUseTransform(lua_State* L) {

Callers

nothing calls this directly

Calls 3

CheckLuaSceneNodeFunction · 0.85
lua_toboolFunction · 0.85
lua_settopFunction · 0.50

Tested by

no test coverage detected