| 108 | |
| 109 | |
| 110 | void dGeomSphereSetRadius (dGeomID g, dReal radius) |
| 111 | { |
| 112 | dUASSERT (g && g->type == dSphereClass,"argument not a sphere"); |
| 113 | dAASSERT (radius > 0); |
| 114 | dxSphere *s = (dxSphere*) g; |
| 115 | s->radius = radius; |
| 116 | dGeomMoved (g); |
| 117 | } |
| 118 | |
| 119 | |
| 120 | dReal dGeomSphereGetRadius (dGeomID g) |
no test coverage detected