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

Method Enable

ogsr_engine/xrGame/PHElement.cpp:539–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539void CPHElement::Enable()
540{
541 if (!isActive())
542 return;
543 m_shell->EnableObject(0);
544 if (dBodyIsEnabled(m_body))
545 return;
546 dBodyEnable(m_body);
547}
548
549void CPHElement::Disable()
550{

Callers

nothing calls this directly

Calls 3

dBodyIsEnabledFunction · 0.85
dBodyEnableFunction · 0.85
EnableObjectMethod · 0.45

Tested by

no test coverage detected