MCPcopy Create free account
hub / github.com/carbonengine/trinity / CreatePrimitive

Method CreatePrimitive

trinity/Tr2GrannyPrimitiveSet.cpp:237–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235}
236
237void Tr2GrannyPrimitiveSet::CreatePrimitive()
238{
239 if( !m_grannyRes )
240 {
241 return;
242 }
243
244 if( m_grannyRes->IsUsingCMF() )
245 {
246 CreatePrimitiveFromCMF();
247 }
248#if WITH_GRANNY
249 else
250 {
251 CreatePrimitiveFromGranny();
252 }
253#endif
254}
255
256void Tr2GrannyPrimitiveSet::CreatePrimitiveFromCMF()
257{

Callers

nothing calls this directly

Calls 1

IsUsingCMFMethod · 0.45

Tested by

no test coverage detected