bevy/crates/bevy_math
Joona Aalto 6032978eba
Implement Mul between f32 and direction types (#12276)
# Objective

Bevy's `Dir3` and `Dir3A` only implement `Mul<f32>` and not vice versa,
and `Dir2` can not be multiplied by `f32` at all. They all should
implement multiplication both ways, just like Glam's vector types.

## Solution

Implement `Mul<Dir2>`, `Mul<Dir3>`, and `Mul<Dir3A>` for `f32`, and
`Mul<f32>` for `Dir2`.
2024-03-03 17:44:16 +00:00
..
src Implement Mul between f32 and direction types (#12276) 2024-03-03 17:44:16 +00:00
Cargo.toml Cubic splines overhaul (#10701) 2024-02-28 17:18:42 +00:00