mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
6032978eba
# 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`. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |