public void setTextureMode(final TextureMode textureMode) { if (textureMode != _textureMode) { _textureMode = textureMode; updateGeometry(); } }
public void setTextureMode(final TextureMode textureMode) { if (textureMode != _textureMode) { _textureMode = textureMode; updateGeometry(); } }
/** * @param name * name of the spatial * @param useIcosahedron * true to start with a 20 triangle mesh, false to start with a 8 triangle mesh * @param radius * the radius of this sphere * @param maxlevels * an integer >= 1 setting the recursion level * @param textureMode * the texture mode to use when generating texture coordinates */ public GeoSphere(final String name, final boolean useIcosahedron, final double radius, final int maxlevels, final TextureMode textureMode) { super(name); _maxlevels = maxlevels; _radius = radius; _maxlevels = maxlevels; _usingIcosahedron = useIcosahedron; _textureMode = textureMode; updateGeometry(); }
/** * @param name * name of the spatial * @param useIcosahedron * true to start with a 20 triangle mesh, false to start with a 8 triangle mesh * @param radius * the radius of this sphere * @param maxlevels * an integer >= 1 setting the recursion level * @param textureMode * the texture mode to use when generating texture coordinates */ public GeoSphere(final String name, final boolean useIcosahedron, final double radius, final int maxlevels, final TextureMode textureMode) { super(name); _maxlevels = maxlevels; _radius = radius; _maxlevels = maxlevels; _usingIcosahedron = useIcosahedron; _textureMode = textureMode; updateGeometry(); }