java.lang.Object
team.lodestar.lodestone.modules.rendering.model.geo.data.GeoQuad
All Implemented Interfaces:
ICloneable<GeoQuad>, IRenderableModelPart<GeoQuad>

public class GeoQuad extends Object implements IRenderableModelPart<GeoQuad>
  • Constructor Summary

    Constructors
    Constructor
    Description
    GeoQuad(GeoVertex[] vertices)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static GeoQuad
    build(GeoVertex[] vertices, org.joml.Vector2f uv, org.joml.Vector2f uvSize, int rotation, org.joml.Vector2f textureSize)
     
     
    void
    render(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, com.mojang.blaze3d.vertex.VertexFormat vertexFormat, com.mojang.blaze3d.vertex.VertexFormat.Mode mode)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface team.lodestar.lodestone.modules.rendering.model.geo.data.IRenderableModelPart

    render
  • Constructor Details

    • GeoQuad

      public GeoQuad(GeoVertex[] vertices)
  • Method Details

    • build

      public static GeoQuad build(GeoVertex[] vertices, org.joml.Vector2f uv, org.joml.Vector2f uvSize, int rotation, org.joml.Vector2f textureSize)
    • copy

      public GeoQuad copy()
      Specified by:
      copy in interface ICloneable<GeoQuad>
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer vertexConsumer, com.mojang.blaze3d.vertex.VertexFormat vertexFormat, com.mojang.blaze3d.vertex.VertexFormat.Mode mode)
      Specified by:
      render in interface IRenderableModelPart<GeoQuad>