bevy/crates/bevy_math
Lynn d7f2e431e5
Implement Measured2d for Arc2d-based primitives. (#16213)
# 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.
2024-11-05 22:31:36 +01:00
..
src Implement Measured2d for Arc2d-based primitives. (#16213) 2024-11-05 22:31:36 +01:00
Cargo.toml Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
clippy.toml Make bevy_math's libm feature use libm for all f32methods with unspecified precision (#14693) 2024-08-12 16:13:36 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Math

License Crates.io Downloads Docs Discord