mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
20eb13f458
# Objective [`StableInterpolate`](https://dev-docs.bevyengine.org/bevy/math/trait.StableInterpolate.html) was introduced after this example was written (or more accurately, the two PRs were merged on the same day and developed in parallel). The example used `Vec3::lerp` where I believe it is now preferred to use `smooth_nudge`. ## Solution Its not entirely clear to me whether `StableInterpolate` should be preferred in this scenario, although it seems likely. So I figured a PR to make the change would either result in it being merged or denied with a reason. ## Testing ``` cargo run --example 2d_top_down_camera ``` Co-authored-by: François Mockers <mockersf@gmail.com> |
||
---|---|---|
.. | ||
2d_top_down_camera.rs | ||
first_person_view_model.rs |