mirror of
https://github.com/bevyengine/bevy
synced 2025-01-24 02:45:14 +00:00
52b8b55c2d
# Objective - `CircularSegment` and `CircularSector` are well defined 2D shapes with both an area and a perimeter. # Solution - This PR implements `perimeter` for both and moves the existsing `area` functions into the `Measured2d` implementations. ## Testing - The `arc_tests` have been extended to also check for perimeters. |
||
---|---|---|
.. | ||
dim2.rs | ||
dim3.rs | ||
mod.rs | ||
serde.rs |