| 62 | } |
| 63 | |
| 64 | int 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 | |
| 78 | static dColliderFn* dRayMotionsColliderFn(int num) |
| 79 | { |
nothing calls this directly
no test coverage detected