/** * @param textureMode * The textureMode to set. */ public void setTextureMode(final TextureMode textureMode) { _textureMode = textureMode; setGeometryData(); setIndexData(); }
/** * * @param viewInside * if true, the normals are inverted to point into the sphere so that the face is oriented for a viewer * inside the sphere. Default is false (for outside viewing) */ public void setViewFromInside(final boolean viewInside) { if (viewInside != _viewInside) { _viewInside = viewInside; setGeometryData(); setIndexData(); } }
/** * @param textureMode * The textureMode to set. */ public void setTextureMode(final TextureMode textureMode) { _textureMode = textureMode; setGeometryData(); setIndexData(); }
/** * * @param viewInside * if true, the normals are inverted to point into the sphere so that the face is oriented for a viewer * inside the sphere. Default is false (for outside viewing) */ public void setViewFromInside(final boolean viewInside) { if (viewInside != _viewInside) { _viewInside = viewInside; setGeometryData(); setIndexData(); } }
/** * Changes the information of the sphere into the given values. * * @param center * The new center of the sphere. * @param zSamples * The new number of zSamples of the sphere. * @param radialSamples * The new number of radial samples of the sphere. * @param radius * The new radius of the sphere. */ public void setData(final ReadOnlyVector3 center, final int zSamples, final int radialSamples, final double radius) { _center.set(center); _zSamples = zSamples; _radialSamples = radialSamples; _radius = radius; setGeometryData(); setIndexData(); }
/** * Changes the information of the sphere into the given values. * * @param center * The new center of the sphere. * @param zSamples * The new number of zSamples of the sphere. * @param radialSamples * The new number of radial samples of the sphere. * @param radius * The new radius of the sphere. */ public void setData(final ReadOnlyVector3 center, final int zSamples, final int radialSamples, final double radius) { _center.set(center); _zSamples = zSamples; _radialSamples = radialSamples; _radius = radius; setGeometryData(); setIndexData(); }