bevy/crates/bevy_math/src
IcyLeave6109 f61c55fd90
Allow shapes to be constructed with zero values (#13365)
# Objective

Fixes #13332.

## Solution

The assertion `circumradius >= 0.0` to allow zero.

Are there any other shapes that need to be allowed to be constructed
with zero?

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
2024-05-16 02:22:50 +00:00
..
bounding replace std::f32::EPSILON with f32::EPSILON (#13267) 2024-05-07 05:23:53 +00:00
primitives Allow shapes to be constructed with zero values (#13365) 2024-05-16 02:22:50 +00:00
rects Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
sampling Random sampling of directions and quaternions (#12857) 2024-04-04 23:13:00 +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 copy, clone, and debug derives to cubic spline structs (#13293) 2024-05-12 20:48:08 +00:00
direction.rs Add AXES iterators for Dir types (#13305) 2024-05-09 23:30:44 +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 Add Rotation2d (#11658) 2024-03-11 19:11:57 +00:00