Home | History | Annotate | Download | only in shapes

Lines Matching refs:halfExtents

49     protected Vector3f halfExtents;
56 * creates a cylinder shape from the given halfextents
57 * @param halfExtents the halfextents to use
59 public CylinderCollisionShape(Vector3f halfExtents) {
60 this.halfExtents = halfExtents;
66 * Creates a cylinder shape around the given axis from the given halfextents
67 * @param halfExtents the halfextents to use
70 public CylinderCollisionShape(Vector3f halfExtents, int axis) {
71 this.halfExtents = halfExtents;
77 return halfExtents;
87 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
94 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f));
100 objectId = createShape(axis, halfExtents);
104 // objectId = new CylinderShapeX(Converter.convert(halfExtents));
107 // objectId = new CylinderShape(Converter.convert(halfExtents));
110 // objectId = new CylinderShapeZ(Converter.convert(halfExtents));
119 private native long createShape(int axis, Vector3f halfExtents);