14 INLINE
void OdeBoxGeom::
15 set_lengths(dReal lx, dReal ly, dReal lz) {
16 dGeomBoxSetLengths(_id, lx, ly, lz);
19 INLINE
void OdeBoxGeom::
20 set_lengths(
const LVecBase3f &size) {
21 set_lengths(size[0], size[1], size[2]);
24 INLINE LVecBase3f OdeBoxGeom::
27 dGeomBoxGetLengths(_id, res);
28 return LVecBase3f(res[0], res[1], res[2]);
31 INLINE dReal OdeBoxGeom::
32 get_point_depth(dReal x, dReal y, dReal z) {
33 return dGeomBoxPointDepth(_id, x, y, z);
36 INLINE dReal OdeBoxGeom::
37 get_point_depth(
const LPoint3f &p) {
38 return get_point_depth(p[0], p[1], p[2]);