> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/api/functions/renderer.drawtriangle.md). Agents can also search and read this documentation through its [MCP server](https://scripting.breeze.rip/~gitbook/mcp).

# renderer.drawTriangle

> **drawTriangle**(`a`, `b`, `c`, `color`, `depth`): `void`

Draws a filled triangle between three world positions. Visible from both sides.

### Parameters

#### a

[`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md)

The first corner in world coordinates.

#### b

[`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md)

The second corner.

#### c

[`Vec3`](https://scripting.breeze.rip/api/net/minecraft/util/vec3.md)

The third corner.

#### color

[`Color`](https://scripting.breeze.rip/api/breeze/util/color.md)

The fill color.

#### depth

`boolean`

Whether the triangle is hidden behind blocks.

### Returns

`void`
