mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
ffb6faafc2
# Objective Fix weird visuals when drawing a gizmo with a non-normed normal. Fixes #11401 ## Solution Just normalize right before we draw. Could do it when constructing the builder but that seems less consistent. ## Changelog - gizmos.circle normal is now a Direction3d instead of a Vec3. ## Migration Guide - Pass a Direction3d for gizmos.circle normal, eg. `Direction3d::new(vec).unwrap_or(default)` or potentially `Direction3d::new_unchecked(vec)` if you know your vec is definitely normalized. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |