Expand description
Methods for converting shapes into triangles.
Functionsยง
- rect_
border_ tri_ list_ xy - Creates triangle list vertices from rectangle.
- rect_
tri_ list_ uv - Creates triangle list texture coords from image.
- rect_
tri_ list_ xy - Creates triangle list vertices from rectangle.
- stream_
polygon_ tri_ list - Streams a polygon into tri list. Uses buffers that fit inside L1 cache.
- stream_
quad_ tri_ list - Streams a quad into tri list.
- tx
- Transformed x coordinate as f32.
- ty
- Transformed y coordinate as f32.
- with_
arc_ tri_ list - Streams an arc between the two radian boundaries.
- with_
ellipse_ border_ tri_ list - Streams an ellipse border specified by a resolution.
- with_
ellipse_ tri_ list - Streams an ellipse specified by a resolution.
- with_
lerp_ polygons_ tri_ list - Streams tweened polygons using linear interpolation.
- with_
polygon_ tri_ list - Splits polygon into convex segments. Create a buffer that fits into L1 cache with 1KB overhead.
- with_
round_ border_ line_ tri_ list - Streams a round border line.
- with_
round_ rectangle_ border_ tri_ list - Streams a round rectangle border.
- with_
round_ rectangle_ tri_ list - Streams a round rectangle.