00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 INLINE void OdeSphereGeom::
00016 set_radius(dReal radius) {
00017 dGeomSphereSetRadius(_id, radius);
00018 }
00019
00020 INLINE dReal OdeSphereGeom::
00021 get_radius() const {
00022 return dGeomSphereGetRadius(_id);
00023 }
00024
00025 INLINE dReal OdeSphereGeom::
00026 get_point_depth(dReal x, dReal y, dReal z) const {
00027 return dGeomSpherePointDepth(_id, x, y, z);
00028 }
00029
00030 INLINE dReal OdeSphereGeom::
00031 get_point_depth(const LPoint3f &p) const {
00032 return get_point_depth(p[0], p[1], p[2]);
00033 }
00034