| 26 | } |
| 27 | |
| 28 | int dCollideRMB(dxGeom* o1, dxGeom* o2, int flags, dContactGeom* contact, int skip) |
| 29 | { |
| 30 | dxRayMotions* rm = (dxRayMotions*)dGeomGetClassData(o1); |
| 31 | int ret = dCollideRayBox(rm->ray, o2, flags, contact, skip); |
| 32 | for (int i = 0; i < ret; i++) |
| 33 | { |
| 34 | dContactGeom* c = CONTACT(contact, skip * i); |
| 35 | c->g1 = rm->ray_ownwer; |
| 36 | // c->depth*=60.f; |
| 37 | } |
| 38 | return ret; |
| 39 | } |
| 40 | |
| 41 | int dCollideRMS(dxGeom* o1, dxGeom* o2, int flags, dContactGeom* contact, int skip) |
| 42 | { |
nothing calls this directly
no test coverage detected