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

Method OnChangeVisual

ogsr_engine/xrGame/DestroyablePhysicsObject.cpp:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21CDestroyablePhysicsObject::~CDestroyablePhysicsObject() {}
22void CDestroyablePhysicsObject::OnChangeVisual()
23{
24 if (m_pPhysicsShell)
25 {
26 m_pPhysicsShell->Deactivate();
27 xr_delete(m_pPhysicsShell);
28 VERIFY(0 == Visual());
29 }
30 inherited::OnChangeVisual();
31}
32CPhysicsShellHolder* CDestroyablePhysicsObject ::PPhysicsShellHolder() { return cast_physics_shell_holder(); }
33
34void CDestroyablePhysicsObject::net_Destroy()

Callers

nothing calls this directly

Calls 4

xr_deleteFunction · 0.85
VisualFunction · 0.85
OnChangeVisualFunction · 0.85
DeactivateMethod · 0.45

Tested by

no test coverage detected