Class SphereVBO.VBOSphereMeshBuilder

java.lang.Object
org.jzy3d.plot3d.primitives.vbo.drawable.SphereVBO.VBOSphereMeshBuilder
All Implemented Interfaces:
IGLLoader<DrawableVBO>
Enclosing class:
SphereVBO

public static class SphereVBO.VBOSphereMeshBuilder extends Object implements IGLLoader<DrawableVBO>
This load the definition of a VBO sphere object and set arrays for later rendering.
  • Field Details

    • sphereVertexBuffer

      protected FloatBuffer sphereVertexBuffer
    • sphereNormalBuffer

      protected FloatBuffer sphereNormalBuffer
    • sphereVertexArray

      protected float[] sphereVertexArray
    • vertexVboId

      protected int vertexVboId
    • normalVboId

      protected int normalVboId
    • hasMountedOnce

      protected boolean hasMountedOnce
  • Constructor Details

    • VBOSphereMeshBuilder

      public VBOSphereMeshBuilder(double radius, int stacks, int slices)
  • Method Details