MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / GetNumPrimitives

Method GetNumPrimitives

neo/idlib/MapFile.h:177–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175 static idMapEntity * Parse( idLexer &src, bool worldSpawn = false, float version = CURRENT_MAP_VERSION );
176 bool Write( idFile *fp, int entityNum ) const;
177 int GetNumPrimitives( void ) const { return primitives.Num(); }
178 idMapPrimitive * GetPrimitive( int i ) const { return primitives[i]; }
179 void AddPrimitive( idMapPrimitive *p ) { primitives.Append( p ); }
180 unsigned int GetGeometryCRC( void ) const;

Callers 6

EntityFromMapEntityFunction · 0.80
ProcessMapEntityFunction · 0.80
CM_EstimateVertsAndEdgesFunction · 0.80
ParseMethod · 0.80

Calls 1

NumMethod · 0.45

Tested by

no test coverage detected