public class Axis extends Shape
| Modifier and Type | Class and Description |
|---|---|
static class |
Axis.AxisLetter |
typedArrays, vertexColorBuffer, vertexPositionBuffer, xAngle, yAngle, zAngle| Constructor and Description |
|---|
Axis(Axis.AxisLetter letter) |
| 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) |
getVertexColorBuffer, getVertexPositionBuffer, mvPopMatrix, mvPushMatrix, setAngles, setVertexColorBuffer, setVertexPositionBufferpublic Axis(Axis.AxisLetter letter)
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)
Copyright © 2018 Xalys. All rights reserved.