/** * @param height * The height to set. */ public void setHeight(final double height) { _height = height; allocateVertices(); }
/** * Change the radius of this cylinder. This resets any second radius. * * @param radius * The radius to set. */ public void setRadius(final double radius) { _radius = radius; _radius2 = radius; allocateVertices(); }
/** * Set the top radius of the 'cylinder' to differ from the bottom radius. * * @param radius * The first radius to set. * @see com.ardor3d.extension.shape.Cone */ public void setRadius1(final double radius) { _radius = radius; allocateVertices(); }
/** * Set the bottom radius of the 'cylinder' to differ from the top radius. This makes the Mesh be a frustum of * pyramid, or if set to 0, a cone. * * @param radius * The second radius to set. * @see com.ardor3d.extension.shape.Cone */ public void setRadius2(final double radius) { _radius2 = radius; allocateVertices(); }
/** * @param height * The height to set. */ public void setHeight(final double height) { _height = height; allocateVertices(); }
/** * Set the top radius of the 'cylinder' to differ from the bottom radius. * * @param radius * The first radius to set. * @see com.ardor3d.extension.shape.Cone */ public void setRadius1(final double radius) { _radius = radius; allocateVertices(); }
/** * Set the bottom radius of the 'cylinder' to differ from the top radius. This makes the Mesh be a frustum of * pyramid, or if set to 0, a cone. * * @param radius * The second radius to set. * @see com.ardor3d.extension.shape.Cone */ public void setRadius2(final double radius) { _radius2 = radius; allocateVertices(); }
/** * Change the radius of this cylinder. This resets any second radius. * * @param radius * The radius to set. */ public void setRadius(final double radius) { _radius = radius; _radius2 = radius; allocateVertices(); }
_inverted = inverted; allocateVertices();
_inverted = inverted; allocateVertices();