bevy/crates/bevy_math/src
NiseVoid 414abb4959
Use Vec3A for 3D bounding volumes and raycasts (#13087)
# Objective

- People have reported bounding volumes being slower than their existing
solution because it doesn't use SIMD aligned types.

## Solution

- Use `Vec3A` internally for bounding volumes, accepting `Into<Vec3A>`
wherever possible
- Change some code to make it more likely SIMD operations are used.

---

## Changelog

- Use `Vec3A` for 3D bounding volumes and raycasts

## Migration Guide

- 3D bounding volumes now use `Vec3A` types internally, return values
from methods on them now return `Vec3A` instead of `Vec3`
2024-04-25 18:56:58 +00:00
..
bounding Use Vec3A for 3D bounding volumes and raycasts (#13087) 2024-04-25 18:56:58 +00:00
primitives Additional doc aliases for WindingOrder in bevy_math (#13065) 2024-04-22 21:50:27 +00:00
rects
sampling Random sampling of directions and quaternions (#12857) 2024-04-04 23:13:00 +00:00
affine3.rs
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 Fix uses of "it's" vs "its". (#13033) 2024-04-19 18:17:31 +00:00
direction.rs Use Vec3A for 3D bounding volumes and raycasts (#13087) 2024-04-25 18:56:58 +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