bevy/crates/bevy_math/src
Brezak ed44eb3913
Add a from Dir2 impl for Vec2 (#12594)
# Objective

Allow converting from `Dir2` to `Vec2` in generic code. Fixes #12529.

## Solution

Added a `From<Dir2>` impl for `Vec2`.
2024-03-20 14:21:50 +00:00
..
bounding Add scale_around_center method to BoundingVolume trait (#12142) 2024-03-11 21:48:25 +00:00
primitives Rename Direction2d/3d to Dir2/3 (#12189) 2024-02-28 22:48:43 +00:00
rects Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
affine3.rs Automatic batching/instancing of draw commands (#9685) 2023-09-21 22:12:34 +00:00
aspect_ratio.rs Introduce AspectRatio struct (#10368) 2023-12-17 02:01:26 +00:00
cubic_splines.rs Cubic splines overhaul (#10701) 2024-02-28 17:18:42 +00:00
direction.rs Add a from Dir2 impl for Vec2 (#12594) 2024-03-20 14:21:50 +00:00
lib.rs Uniform point sampling methods for some primitive shapes. (#12484) 2024-03-17 14:48:16 +00:00
ray.rs Rename Direction2d/3d to Dir2/3 (#12189) 2024-02-28 22:48:43 +00:00
rotation2d.rs Add Rotation2d (#11658) 2024-03-11 19:11:57 +00:00
shape_sampling.rs Uniform point sampling methods for some primitive shapes. (#12484) 2024-03-17 14:48:16 +00:00