hmi.graphics.util.basicobjects
Class GLCheckerBoardGround
java.lang.Object
hmi.graphics.util.basicobjects.GLCheckerBoardGround
- All Implemented Interfaces:
- GLRenderObject
public class GLCheckerBoardGround
- extends Object
- implements GLRenderObject
Renders a basic checkerboard ground of specified dimensions.
- Author:
- Herwin van Welbergen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
greyState
private GLMaterial greyState
whiteState
private GLMaterial whiteState
noTextureState
private NoTexture2DState noTextureState
fillState
private GLFill fillState
whiteDiffuse
private final float[] whiteDiffuse
whiteSpecular
private final float[] whiteSpecular
whiteAmbient
private final float[] whiteAmbient
whiteEmission
private final float[] whiteEmission
greyDiffuse
private final float[] greyDiffuse
greyAmbient
private final float[] greyAmbient
greyEmission
private final float[] greyEmission
greySpecular
private final float[] greySpecular
height
float height
tileWidth
float tileWidth
GLCheckerBoardGround
public GLCheckerBoardGround(float h,
float w)
glInit
public void glInit(GLRenderContext glc)
- Description copied from interface:
GLRenderObject
- Called during OpenGL initialization.
- Specified by:
glInit in interface GLRenderObject
glRender
public void glRender(GLRenderContext glc)
- Description copied from interface:
GLRenderObject
- Called during openGL rendering.
- Specified by:
glRender in interface GLRenderObject