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

Method SetAllGeomTraced

ogsr_engine/xrGame/PHShell.cpp:1398–1414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1396 m_traced_geoms.add(g);
1397}
1398void CPHShell::SetAllGeomTraced()
1399{
1400 ELEMENT_I i, e;
1401 i = elements.begin();
1402 e = elements.end();
1403 for (; i != e; ++i)
1404 {
1405 u16 gn = (*i)->numberOfGeoms();
1406 for (u16 j = 0; j < gn; ++j)
1407 {
1408 CODEGeom* g = (*i)->Geom(j);
1409 g->set_ph_object(this);
1410 m_traced_geoms.add(g);
1411 }
1412 }
1413 CPHObject::SetRayMotions();
1414}
1415void CPHShell::SetPrefereExactIntegration() { CPHObject::SetPrefereExactIntegration(); }
1416
1417void CPHShell::add_Element(CPhysicsElement* E)

Callers 2

activate_physic_shellMethod · 0.80
activate_physic_shellMethod · 0.80

Calls 6

GeomMethod · 0.80
set_ph_objectMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
numberOfGeomsMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected