mirror of
https://github.com/bevyengine/bevy
synced 2025-01-02 08:18:59 +00:00
cd80b10d43
# Objective - General clenup of the primitives in `bevy_math` - Add `eccentricity()` to `Ellipse` ## Solution - Moved `Bounded3d` implementation for `Triangle3d` to the `bounded` module - Added `eccentricity()` to `Ellipse` - `Ellipse::semi_major()` and `::semi_minor()` now accept `&self` instead of `self` - `Triangle3d::is_degenerate()` actually uses `f32::EPSILON` as documented - Added tests for `Triangle3d`-maths --------- Co-authored-by: Joona Aalto <jondolf.dev@gmail.com> Co-authored-by: Miles Silberling-Cook <nth.tensor@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |