public class TexturedQuad
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
invertNormal |
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
private boolean invertNormal
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)