Class OverlayVertexHelper
java.lang.Object
net.lugo.overlaylib.util.OverlayVertexHelper
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrect(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 voidsquare(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 voidsquare(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 voidtexturedSquare(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 voidtriangle(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 voidvertex(com.mojang.blaze3d.vertex.VertexConsumer buffer, float x, float y, float z, float r, float g, float b, float u, float v)
-
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)
-