diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-29 11:48:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-05-29 11:49:18 +0200 |
commit | c3d79fdf679a749d961719ad662b9f46b0f26ec1 (patch) | |
tree | e7f3a28f354a895b2dfe7aeca11d75fe327e5c5b /src/critter.cpp | |
parent | 8393fb6cb5798d930ae1e5d34acf56bde3ef2d7d (diff) |
d
Diffstat (limited to 'src/critter.cpp')
-rw-r--r-- | src/critter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/critter.cpp b/src/critter.cpp index 7b337953..03923e69 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -312,10 +312,10 @@ constexpr float step_magnitude(Vector2b vec) if (vec.x() * vec.y() != 0) // diagonal - return d; + return d; else // axis-aligned - return c; + return c; } Ns return_unspent_dt(uint32_t nframes, uint32_t i, float speed, Ns frame_duration) |