Class SphereVBO.VBOSphereMeshBuilder
java.lang.Object
org.jzy3d.plot3d.primitives.vbo.drawable.SphereVBO.VBOSphereMeshBuilder
- All Implemented Interfaces:
IGLLoader<DrawableVBO>
- Enclosing class:
SphereVBO
This load the definition of a VBO sphere object and set arrays for later rendering.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected int
protected FloatBuffer
protected float[]
protected FloatBuffer
protected int
-
Constructor Summary
-
Method Summary
-
Field Details
-
sphereVertexBuffer
-
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
-
load
- Specified by:
load
in interfaceIGLLoader<DrawableVBO>
- Throws:
Exception
-
hasMountedOnce
public boolean hasMountedOnce()
-