For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Vec3

The first corner in world coordinates.

b

Vec3

The second corner.

c

Vec3

The third corner.

d

Vec3

The fourth corner.

color

Color

The fill color.

depth

boolean

Whether the quad is hidden behind blocks.

Returns

void

Last updated