Class OverlayVertexHelper

java.lang.Object
net.lugo.overlaylib.util.OverlayVertexHelper

public class OverlayVertexHelper extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    rectFromTriags(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float firstAxisEnd, float secondAxisEnd, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
     
    static float[]
    rotateUV(float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
     
    static void
    squareFromTriags(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float sideLength, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
     
    static void
    squareFromTriags(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
     
    static void
    triangle(com.mojang.blaze3d.vertex.VertexConsumer buffer, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
     
    static void
    vertex(com.mojang.blaze3d.vertex.VertexConsumer buffer, float x, float y, float z, float r, float g, float b, float u, float v)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OverlayVertexHelper

      public OverlayVertexHelper()
  • Method Details

    • rotateUV

      public static float[] rotateUV(float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
    • vertex

      public static void vertex(com.mojang.blaze3d.vertex.VertexConsumer buffer, float x, float y, float z, float r, float g, float b, float u, float v)
    • triangle

      public static void triangle(com.mojang.blaze3d.vertex.VertexConsumer buffer, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
    • rectFromTriags

      public static void rectFromTriags(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float firstAxisEnd, float secondAxisEnd, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
    • squareFromTriags

      public static void squareFromTriags(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float sideLength, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)
    • squareFromTriags

      public static void squareFromTriags(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float r, float g, float b, float uStart, float vStart, float uEnd, float vEnd, UVRotation rotation)