# `class tinylib.primitives.Triangles extends Polygon`

Available on all platforms

Set of Triangles

## Instance Fields

### `var makeFlat:Bool`

### `function new():Void`

### `function allocate(c:Context3D, is_dc_active:Bool, str:String, color:Int, alpha:Float):Void`

### `function getVertIndex(v:String):Int`

### `function get_makeFlat():Bool`

### `function registerFace(v0:String, v1:String, v2:String):Void`

### `function set_makeFlat(f:Bool):Bool`