bevy/crates/bevy_math/src
Ben Harper ec01c2dc45
New circular primitives: Arc2d, CircularSector, CircularSegment (#13482)
# Objective

Adopted #11748

## Solution

I've rebased on main to fix the merge conflicts. ~~Not quite ready to
merge yet~~

* Clippy is happy and the tests are passing, but...
* ~~The new shapes in `examples/2d/2d_shapes.rs` don't look right at
all~~ Never mind, looks like radians and degrees just got mixed up at
some point?
* I have updated one doc comment based on a review in the original PR.

---------

Co-authored-by: Alexis "spectria" Horizon <spectria.limina@gmail.com>
Co-authored-by: Alexis "spectria" Horizon <118812919+spectria-limina@users.noreply.github.com>
Co-authored-by: Joona Aalto <jondolf.dev@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Ben Harper <ben@tukom.org>
2024-05-23 16:12:46 +00:00
..
bounding New circular primitives: Arc2d, CircularSector, CircularSegment (#13482) 2024-05-23 16:12:46 +00:00
primitives New circular primitives: Arc2d, CircularSector, CircularSegment (#13482) 2024-05-23 16:12:46 +00:00
rects Optimize the values for EMPTY rect. (#13470) 2024-05-22 13:34:23 +00:00
sampling Annulus sampling (#13471) 2024-05-22 13:13:04 +00:00
affine3.rs Automatic batching/instancing of draw commands (#9685) 2023-09-21 22:12:34 +00:00
aspect_ratio.rs Implement basic traits for AspectRatio (#12840) 2024-04-01 23:02:07 +00:00
common_traits.rs Remove VectorSpace impl on Quat (#12796) 2024-03-30 17:18:52 +00:00
cubic_splines.rs Add reflect impls for bevy_math curve structs (#13348) 2024-05-16 17:59:56 +00:00
direction.rs New circular primitives: Arc2d, CircularSector, CircularSegment (#13482) 2024-05-23 16:12:46 +00:00
float_ord.rs Move FloatOrd into bevy_math (#12732) 2024-03-27 18:30:11 +00:00
lib.rs Random sampling of directions and quaternions (#12857) 2024-04-04 23:13:00 +00:00
ray.rs separating finite and infinite 3d planes (#12426) 2024-04-18 14:13:22 +00:00
rotation2d.rs New circular primitives: Arc2d, CircularSector, CircularSegment (#13482) 2024-05-23 16:12:46 +00:00