Class NormalizedFace
java.lang.Object
com.pixelmonmod.pixelmon.client.models.smd.NormalizedFace
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.joml.Vector3f
protected org.joml.Vector4f
protected TextureCoordinate[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFaceForRender
(org.joml.Matrix4f pose, org.joml.Matrix3f normal, com.mojang.blaze3d.vertex.VertexConsumer bufferBuilder, int packedLight, int packedOverlay, float r, float g, float b, float a, SmdModel body, int renderCount, com.mojang.blaze3d.vertex.BufferBuilder builder, ByteBuffer buffer)
-
Field Details
-
vertices
-
textureCoordinates
-
cachedNormal
protected org.joml.Vector3f cachedNormal -
cachedPosition
protected org.joml.Vector4f cachedPosition
-
-
Constructor Details
-
NormalizedFace
-
-
Method Details
-
addFaceForRender
public void addFaceForRender(org.joml.Matrix4f pose, org.joml.Matrix3f normal, com.mojang.blaze3d.vertex.VertexConsumer bufferBuilder, int packedLight, int packedOverlay, float r, float g, float b, float a, SmdModel body, int renderCount, com.mojang.blaze3d.vertex.BufferBuilder builder, ByteBuffer buffer)
-