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

Function ParseMeshFace

src/lua/LuaObstacle.cpp:241–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239
240
241static inline const MeshFace* ParseMeshFace(lua_State* L, int index) {
242 const Obstacle* face = ParseObstacle(L, index);
243 if (face == NULL) {
244 return NULL;
245 }
246 if (face->getTypeID() != faceType) {
247 return NULL;
248 }
249 return (const MeshFace*)face;
250}
251
252
253static inline WorldText* ParseWorldText(lua_State* L, int index) {

Callers 15

GetFaceMeshMethod · 0.85
GetFaceElementCountMethod · 0.85
GetFaceVertsMethod · 0.85
GetFaceNormsMethod · 0.85
GetFaceTxcdsMethod · 0.85
GetFacePlaneMethod · 0.85
GetFacePhyDrvMethod · 0.85
GetFaceMaterialMethod · 0.85
GetFaceSmoothBounceMethod · 0.85
GetFaceBaseTeamMethod · 0.85
GetFaceLinkNameMethod · 0.85
GetFaceLinkSrcIDMethod · 0.85

Calls 2

ParseObstacleFunction · 0.85
getTypeIDMethod · 0.45

Tested by

no test coverage detected