public final class Lines extends AbstractShape
| Modifier and Type | Method and Description |
|---|---|
void |
fill(Batch batch,
Mat4x4 matrix) |
Vec3 |
getEnd(int segment,
Vec3 dst) |
int |
getNumIndices() |
int |
getNumSegments() |
int |
getNumVertices() |
Vec3Array |
getSegmentPoints() |
Vec3 |
getStart(int segment,
Vec3 dst) |
ShapeType |
getType() |
void |
setEnd(int segment,
Vec3 end) |
void |
setStart(int segment,
Vec3 start) |
getColor, isActive, setActive, setColorpublic Lines(Vec3Array segmentPoints)
segmentPoints - segments start/end points (length must be a multiple of 2)public Vec3Array getSegmentPoints()
public int getNumSegments()
public void setStart(int segment,
Vec3 start)
public void setEnd(int segment,
Vec3 end)
public final ShapeType getType()
public int getNumIndices()
public int getNumVertices()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com