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

Method build_Geom

ogsr_engine/xrGame/PHGeometryOwner.cpp:46–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46void CPHGeometryOwner::build_Geom(CODEGeom& geom)
47{
48 geom.build(m_mass_center);
49 // geom.set_body(m_body);
50 geom.set_material(ul_material);
51 if (contact_callback)
52 geom.set_contact_cb(contact_callback);
53 if (object_contact_callback)
54 geom.set_obj_contact_cb(object_contact_callback);
55 if (m_phys_ref_object)
56 geom.set_ref_object(m_phys_ref_object);
57 if (m_group)
58 {
59 geom.add_to_space((dSpaceID)m_group);
60 }
61}
62
63void CPHGeometryOwner::build_Geom(u16 i)
64{

Callers

nothing calls this directly

Calls 6

set_contact_cbMethod · 0.80
set_obj_contact_cbMethod · 0.80
set_ref_objectMethod · 0.80
add_to_spaceMethod · 0.80
buildMethod · 0.45
set_materialMethod · 0.45

Tested by

no test coverage detected