Garry's Mod Wiki

mesh.Quad

  mesh.Quad( Vector vertex1, Vector vertex2, Vector vertex3, Vector vertex4, table color )

Description

Adds a quad (4 vertices) to the currently built mesh. See mesh.Begin.

Arguments

1 Vector vertex1
The first vertex.
2 Vector vertex2
The second vertex.
3 Vector vertex3
The third vertex.
4 Vector vertex4
The fourth vertex.
5 table color
The color for the vertices.