/** * Set the side lengths of the given box. * * @param box the box to set * @param lx the length of the box along the X axis * @param ly the length of the box along the Y axis * @param lz the length of the box along the Z axis * * @see #dGeomBoxGetLengths(DBox, DVector3) */ //ODE_API public static void dGeomBoxSetLengths (DBox box, double lx, double ly, double lz) { box.setLengths(new DVector3(lx, ly, lz)); }
/** * Set the side lengths of the given box. * * @param box the box to set * @param lx the length of the box along the X axis * @param ly the length of the box along the Y axis * @param lz the length of the box along the Z axis * * @see #dGeomBoxGetLengths(DBox, DVector3) */ //ODE_API public static void dGeomBoxSetLengths (DBox box, double lx, double ly, double lz) { box.setLengths(new DVector3(lx, ly, lz)); }
dRandReal()*2.0-1.0,dRandReal()*10.0-5.0); box1.setLengths (side1); box2.setLengths (side2); box1.setPosition (p1); box1.setRotation (R1);
box1.setLengths (side1); box2.setLengths (side2); box1.setPosition (p1); box1.setRotation (R1);
box.setLengths (s); dMakeRandomVector (p,1.0); box.setPosition (p);
box.setLengths (s); dMakeRandomVector (p,1.0); box.setPosition (p);