Class OctahedronSphereCreator

java.lang.Object
gaiasky.util.gdx.ModelCreator
gaiasky.util.gdx.OctahedronSphereCreator

public class OctahedronSphereCreator extends ModelCreator
Utility class to create octahedron spheres.
  • Constructor Details

    • OctahedronSphereCreator

      public OctahedronSphereCreator()
  • Method Details

    • addUV

      protected void addUV(Set<Integer> seam)
      Implements the spherical UV mapping
    • create

      public OctahedronSphereCreator create(float radius, int divisions, boolean flipNormals, boolean hardEdges)