solidTriangle

inline fun Container.solidTriangle(p1: Point, p2: Point, p3: Point, color: RGBA = Colors.WHITE, callback: Mesh.() -> Unit = {}): SolidTriangle

Creates a new SolidTriangle with points [p1, p1, p3] and color color and allows you to configure it via callback. Once created, it is added to this receiver Container.