public class NormalizedFace
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Vertex |
faceNormal |
TextureCoordinate[] |
textureCoordinates |
DeformVertex[] |
vertices |
| Constructor and Description |
|---|
NormalizedFace(DeformVertex[] xyz,
TextureCoordinate[] uvs) |
NormalizedFace(NormalizedFace face,
java.util.List<DeformVertex> verts) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFaceForRender(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
com.mojang.blaze3d.vertex.IVertexBuilder bufferBuilder,
int packedLight,
int packedOverlay,
boolean smoothShading,
float partialTick,
float r,
float g,
float b,
float a) |
Vertex |
calculateFaceNormal() |
public DeformVertex[] vertices
public TextureCoordinate[] textureCoordinates
public Vertex faceNormal
public NormalizedFace(DeformVertex[] xyz, TextureCoordinate[] uvs)
public NormalizedFace(NormalizedFace face, java.util.List<DeformVertex> verts)
public Vertex calculateFaceNormal()
public void addFaceForRender(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
com.mojang.blaze3d.vertex.IVertexBuilder bufferBuilder,
int packedLight,
int packedOverlay,
boolean smoothShading,
float partialTick,
float r,
float g,
float b,
float a)