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

Function unfreeze

ogsr_engine/xrGame/PhysicsShellScript.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23void unfreeze(CPhysicsShell* self)
24{
25 u16 max_elements = self->get_ElementsNumber();
26 for (u16 i = 0; i < max_elements; ++i)
27 {
28 self->get_ElementByStoreOrder(i)->ReleaseFixed();
29 }
30 self->SetStatic();
31}
32
33
34void CPhysicsShell::script_register(lua_State* L)

Callers

nothing calls this directly

Calls 4

get_ElementsNumberMethod · 0.80
ReleaseFixedMethod · 0.80
SetStaticMethod · 0.80

Tested by

no test coverage detected