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

Function dCollideRMCyl

ogsr_engine/xrGame/dRayMotions.cpp:64–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64int dCollideRMCyl(dxGeom* o1, dxGeom* o2, int flags, dContactGeom* contact, int skip)
65{
66 dxRayMotions* rm = (dxRayMotions*)dGeomGetClassData(o1);
67 int ret = dCollideCylRay(o2, rm->ray, flags, contact, skip);
68 for (int i = 0; i < ret; i++)
69 {
70 dContactGeom* c = CONTACT(contact, skip * i);
71 revert_contact(c);
72 c->g1 = rm->ray_ownwer;
73 // c->depth*=60.f;
74 }
75 return ret;
76}
77
78static dColliderFn* dRayMotionsColliderFn(int num)
79{

Callers

nothing calls this directly

Calls 4

dGeomGetClassDataFunction · 0.85
dCollideCylRayFunction · 0.85
revert_contactFunction · 0.85
CONTACTFunction · 0.70

Tested by

no test coverage detected