| 44 | |
| 45 | |
| 46 | void 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 | |
| 63 | void CPHGeometryOwner::build_Geom(u16 i) |
| 64 | { |
nothing calls this directly
no test coverage detected