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

Function freeze

ogsr_engine/xrGame/PhysicsShellScript.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void freeze(CPhysicsShell* self)
14{
15 u16 max_elements = self->get_ElementsNumber();
16 for (u16 i = 0; i < max_elements; ++i)
17 {
18 self->get_ElementByStoreOrder(i)->Fix();
19 }
20 self->SetIgnoreStatic();
21}
22
23void unfreeze(CPhysicsShell* self)
24{

Callers

nothing calls this directly

Calls 4

get_ElementsNumberMethod · 0.80
FixMethod · 0.80
SetIgnoreStaticMethod · 0.80

Tested by

no test coverage detected