Class VBOLines
java.lang.Object
zombie.core.opengl.VBOLines
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAABB
(float float6, float float7, float float8, float float1, float float3, float float5, float float10, float float11, float float12) void
addAABB
(float float0, float float1, float float2, float float7, float float11, float float12, float float4, float float5, float float6, float float8, float float9, float float10) void
addAABB
(float float0, float float1, float float2, org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0, float float3, float float4, float float5) void
addElement
(float x, float y, float z, float r, float g, float b, float a) void
addLine
(float x0, float y0, float z0, float x1, float y1, float z1, float r, float g, float b, float a) void
addLine
(float x0, float y0, float z0, float x1, float y1, float z1, float r0, float g0, float b0, float a0, float r1, float g1, float b1, float a1) void
addQuad
(float x0, float y0, float x1, float y1, float z, float r, float g, float b, float a) void
addTriangle
(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float r, float g, float b, float a) void
flush()
static VBOLines
void
reserve
(int numElements) void
setDepthTest
(boolean enabled) void
setLineWidth
(float width) void
setMode
(int mode) void
setOffset
(float dx, float dy, float dz)
-
Constructor Details
-
VBOLines
public VBOLines()
-
-
Method Details
-
getInstance
-
setOffset
public void setOffset(float dx, float dy, float dz) -
addElement
public void addElement(float x, float y, float z, float r, float g, float b, float a) -
addLine
public void addLine(float x0, float y0, float z0, float x1, float y1, float z1, float r, float g, float b, float a) -
addLine
public void addLine(float x0, float y0, float z0, float x1, float y1, float z1, float r0, float g0, float b0, float a0, float r1, float g1, float b1, float a1) -
addTriangle
public void addTriangle(float x0, float y0, float z0, float x1, float y1, float z1, float x2, float y2, float z2, float r, float g, float b, float a) -
addQuad
public void addQuad(float x0, float y0, float x1, float y1, float z, float r, float g, float b, float a) -
addAABB
public void addAABB(float float6, float float7, float float8, float float1, float float3, float float5, float float10, float float11, float float12) -
addAABB
public void addAABB(float float0, float float1, float float2, org.joml.Vector3f vector3f1, org.joml.Vector3f vector3f0, float float3, float float4, float float5) -
addAABB
public void addAABB(float float0, float float1, float float2, float float7, float float11, float float12, float float4, float float5, float float6, float float8, float float9, float float10) -
reserve
public void reserve(int numElements) -
flush
public void flush() -
setLineWidth
public void setLineWidth(float width) -
setMode
public void setMode(int mode) -
setDepthTest
public void setDepthTest(boolean enabled)
-