| 56 | } |
| 57 | |
| 58 | void TransformedGeometryExtensionLocalParams(dGeomID geom_transform, const dReal* axis, float center_prg, dReal* local_axis, dReal& local_center_prg) |
| 59 | { |
| 60 | R_ASSERT2(dGeomGetClass(geom_transform) == dGeomTransformClass, "is not a geom transform"); |
| 61 | const dReal* rot = dGeomGetRotation(geom_transform); |
| 62 | const dReal* pos = dGeomGetPosition(geom_transform); |
| 63 | dVector3 local_pos; |
| 64 | |
| 65 | dMULTIPLY1_331(local_axis, rot, axis); |
| 66 | dMULTIPLY1_331(local_pos, rot, pos); |
| 67 | local_center_prg = center_prg - dDOT(local_pos, local_axis); |
| 68 | } |
| 69 | |
| 70 | CODEGeom::CODEGeom() |
| 71 | { |
nothing calls this directly
no test coverage detected