Class NormalizedFace

java.lang.Object
com.pixelmonmod.pixelmon.client.models.smd.NormalizedFace

public class NormalizedFace extends Object
  • Field Details

    • vertices

      public DeformVertex[] vertices
    • textureCoordinates

      protected TextureCoordinate[] textureCoordinates
    • cachedNormal

      protected org.joml.Vector3f cachedNormal
    • cachedPosition

      protected org.joml.Vector4f cachedPosition
  • Constructor Details

  • 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)