public class Surface extends Shape
| Modifier and Type | Field and Description | 
|---|---|
| protected OrthonormalGrid | grid | 
| protected Mapper | mapper | 
| protected double[][] | z | 
typedArrays, vertexColorBuffer, vertexPositionBuffer, xAngle, yAngle, zAngle| Modifier | Constructor and Description | 
|---|---|
|   | Surface(OrthonormalGrid grid,
       Mapper mapper) | 
| protected  | Surface(OrthonormalGrid grid,
       Mapper mapper,
       double[][] z) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | finalizeBuffers(WebGLRenderingContext gl) | 
| void | initBuffers(WebGLRenderingContext gl) | 
| void | render(WebGLRenderingContext gl,
      com.google.gwt.typedarrays.shared.Float32Array modelViewMatrix) | 
| void | showWireFrame(boolean wireframe) | 
getVertexColorBuffer, getVertexPositionBuffer, mvPopMatrix, mvPushMatrix, setAngles, setVertexColorBuffer, setVertexPositionBufferprotected OrthonormalGrid grid
protected Mapper mapper
protected double[][] z
protected Surface(OrthonormalGrid grid, Mapper mapper, double[][] z)
public Surface(OrthonormalGrid grid, Mapper mapper)
public void finalizeBuffers(WebGLRenderingContext gl)
finalizeBuffers in class Shapepublic void initBuffers(WebGLRenderingContext gl)
initBuffers in class Shapepublic void render(WebGLRenderingContext gl, com.google.gwt.typedarrays.shared.Float32Array modelViewMatrix)
public void showWireFrame(boolean wireframe)
Copyright © 2018 Xalys. All rights reserved.