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
    rect(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
    square(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
    square(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
    texturedSquare(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float r, float g, float b, TextureSection section, 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)
    • rect

      public static void rect(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)
    • square

      public static void square(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)
    • square

      public static void square(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)
    • texturedSquare

      public static void texturedSquare(com.mojang.blaze3d.vertex.VertexConsumer buffer, OverlayVertexHelper.FixedAxis fixedAxis, float fixedCoord, float firstAxisStart, float secondAxisStart, float r, float g, float b, TextureSection section, UVRotation rotation)