drawTriangle(a, b, c, color, depth): void
a
b
c
color
depth
void
Draws a filled triangle between three world positions. Visible from both sides.
Vec3
The first corner in world coordinates.
The second corner.
The third corner.
Color
The fill color.
boolean
Whether the triangle is hidden behind blocks.
Last updated 1 month ago