Class B3DModel.Face
- java.lang.Object
-
- net.minecraftforge.client.model.b3d.B3DModel.Face
-
- Enclosing class:
- B3DModel
public static class B3DModel.Face extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private B3DModel.Brush
brush
private Vector3f
normal
private B3DModel.Vertex
v1
private B3DModel.Vertex
v2
private B3DModel.Vertex
v3
-
Constructor Summary
Constructors Constructor Description Face(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3, B3DModel.Brush brush)
Face(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3, B3DModel.Brush brush, Vector3f normal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description B3DModel.Brush
getBrush()
Vector3f
getNormal()
static Vector3f
getNormal(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3)
B3DModel.Vertex
getV1()
B3DModel.Vertex
getV2()
B3DModel.Vertex
getV3()
java.lang.String
toString()
-
-
-
Field Detail
-
v1
private final B3DModel.Vertex v1
-
v2
private final B3DModel.Vertex v2
-
v3
private final B3DModel.Vertex v3
-
brush
@Nullable private final B3DModel.Brush brush
-
normal
private final Vector3f normal
-
-
Constructor Detail
-
Face
public Face(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3, @Nullable B3DModel.Brush brush)
-
Face
public Face(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3, @Nullable B3DModel.Brush brush, Vector3f normal)
-
-
Method Detail
-
getV1
public B3DModel.Vertex getV1()
-
getV2
public B3DModel.Vertex getV2()
-
getV3
public B3DModel.Vertex getV3()
-
getBrush
@Nullable public B3DModel.Brush getBrush()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getNormal
public Vector3f getNormal()
-
getNormal
public static Vector3f getNormal(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3)
-
-