public class TexturedQuad
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
nVertices |
PositionTextureVertex[] |
vertexPositions |
Constructor and Description |
---|
TexturedQuad(PositionTextureVertex[] vertices) |
TexturedQuad(PositionTextureVertex[] vertices,
int texcoordU1,
int texcoordV1,
int texcoordU2,
int texcoordV2,
float textureWidth,
float textureHeight) |
Modifier and Type | Method and Description |
---|---|
void |
draw(BufferBuilder renderer,
float scale) |
void |
flipFace() |
public PositionTextureVertex[] vertexPositions
public int nVertices
public TexturedQuad(PositionTextureVertex[] vertices)
public TexturedQuad(PositionTextureVertex[] vertices, int texcoordU1, int texcoordV1, int texcoordU2, int texcoordV2, float textureWidth, float textureHeight)
public void flipFace()
public void draw(BufferBuilder renderer, float scale)