| 39 | } |
| 40 | |
| 41 | int dCollideRMS(dxGeom* o1, dxGeom* o2, int flags, dContactGeom* contact, int skip) |
| 42 | { |
| 43 | dxRayMotions* rm = (dxRayMotions*)dGeomGetClassData(o1); |
| 44 | int ret = dCollideRaySphere(rm->ray, o2, flags, contact, skip); |
| 45 | for (int i = 0; i < ret; i++) |
| 46 | { |
| 47 | dContactGeom* c = CONTACT(contact, skip * i); |
| 48 | c->g1 = rm->ray_ownwer; |
| 49 | // c->depth*=60.f; |
| 50 | } |
| 51 | return ret; |
| 52 | } |
| 53 | |
| 54 | inline void revert_contact(dContactGeom* c) |
| 55 | { |
nothing calls this directly
no test coverage detected