MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / Create

Method Create

ogsr_engine/xrGame/PHActorCharacter.cpp:34–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32CPHActorCharacter::~CPHActorCharacter(void) { ClearRestrictors(); }
33
34void CPHActorCharacter::Create(dVector3 sizes)
35{
36 if (b_exist)
37 return;
38 inherited::Create(sizes);
39
40 RESTRICTOR_I i = begin(m_restrictors), e = end(m_restrictors);
41 for (; e != i; ++i)
42 {
43 (*i)->Create(this, sizes);
44 }
45
46 if (m_phys_ref_object)
47 {
48 SetPhysicsRefObject(m_phys_ref_object);
49 }
50}
51void SPHCharacterRestrictor::Create(CPHCharacter* ch, dVector3 sizes)
52{
53 VERIFY(ch);

Callers

nothing calls this directly

Calls 15

CreateFunction · 0.85
dCreateCylinderFunction · 0.85
dGeomSetPositionFunction · 0.85
dCreateGeomTransformFunction · 0.85
dGeomTransformSetCleanupFunction · 0.85
dGeomTransformSetInfoFunction · 0.85
dGeomTransformSetGeomFunction · 0.85
dGeomCreateUserDataFunction · 0.85
dGeomSetBodyFunction · 0.85
dSpaceAddFunction · 0.85
dGeomUserDataSetPhObjectFunction · 0.85
beginFunction · 0.50

Tested by

no test coverage detected