# Objective - #10572 There is no 2D primitive available for the common shape of an annulus (ring). ## Solution This PR introduces a new type to the existing math primitives: - `Annulus`: the region between two concentric circles --- ## Changelog ### Added - `Annulus` primitive to the `bevy_math` crate - `Annulus` tests (`diameter`, `thickness`, `area`, `perimeter` and `closest_point` methods) --------- Co-authored-by: Joona Aalto <jondolf.dev@gmail.com> |
||
|---|---|---|
| .. | ||
| bounding | ||
| primitives | ||
| rects | ||
| affine3.rs | ||
| aspect_ratio.rs | ||
| cubic_splines.rs | ||
| direction.rs | ||
| lib.rs | ||
| ray.rs | ||
| rotation2d.rs | ||
| shape_sampling.rs | ||