Module graphics::triangulation
source · Expand description
Methods for converting shapes into triangles.
Functions§
- Creates triangle list vertices from rectangle.
- Creates triangle list texture coords from image.
- Creates triangle list vertices from rectangle.
- Streams a polygon into tri list. Uses buffers that fit inside L1 cache.
- Streams a quad into tri list.
- Transformed x coordinate as f32.
- Transformed y coordinate as f32.
- Streams an arc between the two radian boundaries.
- Streams an ellipse border specified by a resolution.
- Streams an ellipse specified by a resolution.
- Streams tweened polygons using linear interpolation.
- Splits polygon into convex segments. Create a buffer that fits into L1 cache with 1KB overhead.
- Streams a round border line.
- Streams a round rectangle border.
- Streams a round rectangle.