jjdh.opengl.meshes.common
Class DividedBox
java.lang.Object
jjdh.opengl.meshes.core.AbstractMesh
jjdh.opengl.meshes.core.VertexArrayMesh
jjdh.opengl.meshes.common.DividedBox
- All Implemented Interfaces:
- Renderable, Mesh
public class DividedBox
- extends VertexArrayMesh
Constructor Summary |
DividedBox(float width,
float height,
float depth,
int number)
|
Methods inherited from class jjdh.opengl.meshes.core.AbstractMesh |
applyMaterial, applyPosition, applyRotation, applyScaling, getMaterial, getPosition, move, render, rotate, setMaterial, setPosition, setRotation, setScale, toString, unApplyMaterial |
number
protected final int number
verticesPerSide
protected final int verticesPerSide
vertices
protected VertexBuffer vertices
DividedBox
public DividedBox(float width,
float height,
float depth,
int number)
createSide
protected void createSide(int side,
Point3D from,
Point3D up,
Point3D left)
createSide
protected void createSide(int offset,
Vector3D from,
Vector3D dirX,
Vector3D dirY)
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.