Class Sphere


  • public class Sphere
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int FLOAT_SIZE  
      static int SHORT_SIZE  
    • Constructor Summary

      Constructors 
      Constructor Description
      Sphere​(int nSlices, float x, float y, float z, float r, int numIndexBuffers)  
    • Constructor Detail

      • Sphere

        public Sphere​(int nSlices,
                      float x,
                      float y,
                      float z,
                      float r,
                      int numIndexBuffers)
    • Method Detail

      • getVertices

        public java.nio.FloatBuffer getVertices()
      • getVerticesStride

        public int getVerticesStride()
      • draw

        public void draw()