Class WorldMesh.Builder
java.lang.Object
com.render.api.world.WorldMesh.Builder
- Enclosing class:
WorldMesh
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()index(int value) intquad(int a, int b, int c, int d) triangle(int a, int b, int c) intvertex(net.minecraft.world.phys.Vec3 position) intvertex(net.minecraft.world.phys.Vec3 position, net.minecraft.world.phys.Vec3 normal, float u, float v, RenderColor color) int
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vertex
public int vertex(net.minecraft.world.phys.Vec3 position) -
vertex
public int vertex(net.minecraft.world.phys.Vec3 position, net.minecraft.world.phys.Vec3 normal, float u, float v, RenderColor color) -
index
-
triangle
-
quad
-
submesh
-
nextIndexOffset
public int nextIndexOffset() -
vertexCount
public int vertexCount() -
build
-