public class MeshShapeBuilder extends java.lang.Object implements IShapeBuilder<Mesh>
| Constructor and Description |
|---|
MeshShapeBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Mesh |
build() |
IShapeCuller |
getCuller() |
void |
line(int i0,
int i1) |
int |
offset(Batch.PolygonType polygonType) |
void |
point(int i0) |
void |
pop() |
void |
push(Mat4x4 matrix) |
void |
quad(int i0,
int i1,
int i2,
int i3) |
void |
reserve(int numVertices,
int numIndices,
Batch.PolygonType polygonType) |
void |
triangle(int i0,
int i1,
int i2) |
void |
vertex(Vec3 position,
float[] textureCoordinates,
Vec3 normal,
Color4b color) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisHasClr, isHasNrm, isHasUvpublic void reserve(int numVertices,
int numIndices,
Batch.PolygonType polygonType)
reserve in interface IShapeBuilder<Mesh>public void push(Mat4x4 matrix)
push in interface IShapeBuilder<Mesh>public void pop()
pop in interface IShapeBuilder<Mesh>public IShapeCuller getCuller()
getCuller in interface IShapeBuilder<Mesh>public int offset(Batch.PolygonType polygonType)
offset in interface IShapeBuilder<Mesh>public void vertex(Vec3 position, float[] textureCoordinates, Vec3 normal, Color4b color)
vertex in interface IShapeBuilder<Mesh>public void point(int i0)
point in interface IShapeBuilder<Mesh>public void line(int i0,
int i1)
line in interface IShapeBuilder<Mesh>public void triangle(int i0,
int i1,
int i2)
triangle in interface IShapeBuilder<Mesh>public void quad(int i0,
int i1,
int i2,
int i3)
quad in interface IShapeBuilder<Mesh>public Mesh build()
build in interface IShapeBuilder<Mesh>Bonzai Engine 1.4.1-20200831 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2019 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com