Home | History | Annotate | Download | only in shapes

Lines Matching refs:halfExtents

51     protected Vector3f halfExtents;
58 * creates a cylinder shape from the given halfextents
59 * @param halfExtents the halfextents to use
61 public CylinderCollisionShape(Vector3f halfExtents) {
62 this.halfExtents = halfExtents;
68 * Creates a cylinder shape around the given axis from the given halfextents
69 * @param halfExtents the halfextents to use
72 public CylinderCollisionShape(Vector3f halfExtents, int axis) {
73 this.halfExtents = halfExtents;
79 return halfExtents;
89 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
96 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
104 cShape = new CylinderShapeX(Converter.convert(halfExtents));
107 cShape = new CylinderShape(Converter.convert(halfExtents));
110 cShape = new CylinderShapeZ(Converter.convert(halfExtents));