renderer.drawQuad
drawQuad(
a,b,c,d,color,depth):void
Draws a filled quad between four world positions. Corners must be given in order around the shape. Visible from both sides.
Parameters
a
The first corner in world coordinates.
b
The second corner.
c
The third corner.
d
The fourth corner.
color
The fill color.
depth
boolean
Whether the quad is hidden behind blocks.
Returns
void
Last updated