| 32 | CPHActorCharacter::~CPHActorCharacter(void) { ClearRestrictors(); } |
| 33 | |
| 34 | void 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 | } |
| 51 | void SPHCharacterRestrictor::Create(CPHCharacter* ch, dVector3 sizes) |
| 52 | { |
| 53 | VERIFY(ch); |
nothing calls this directly
no test coverage detected