Package gaiasky.util.gdx
Class OctahedronSphereCreator
java.lang.Object
gaiasky.util.gdx.ModelCreator
gaiasky.util.gdx.OctahedronSphereCreator
Utility class to create octahedron spheres.
-
Nested Class Summary
Nested classes/interfaces inherited from class gaiasky.util.gdx.ModelCreator
ModelCreator.Face, ModelCreator.IFace
-
Field Summary
Fields inherited from class gaiasky.util.gdx.ModelCreator
faces, flipNormals, hardEdges, index, name, normals, uv, vertices
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Implements the spherical UV mappingcreate
(float radius, int divisions, boolean flipNormals, boolean hardEdges) Methods inherited from class gaiasky.util.gdx.ModelCreator
addFace, addVertex, dumpObj, flip
-
Constructor Details
-
OctahedronSphereCreator
public OctahedronSphereCreator()
-
-
Method Details
-
addUV
Implements the spherical UV mapping -
create
public OctahedronSphereCreator create(float radius, int divisions, boolean flipNormals, boolean hardEdges)
-