diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-07 12:26:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-04-07 12:26:20 +0200 |
commit | c2710101c33f308c099a8d5c19fe36809457804c (patch) | |
tree | a39cfdbc35b3b15643c7ab28a88de01d64122655 | |
parent | 09b9ec36cbcba5c2b6a9acf609972264af0b51a5 (diff) |
remove outdated comment
When going `bbox_size.min()`, the value is implicitly
divided by `sqrt(2)` inside `rotation_to_vec()`.
-rw-r--r-- | src/critter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/critter.cpp b/src/critter.cpp index 5b80ab81..7c3d4285 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -176,10 +176,6 @@ bool update_movement_1(critter& C, size_t& i, const anim_def& info, uint32_t nfr //Debug{} << "< nframes" << nframes; while (nframes > 1) { - // todo what is the correct formula? - // 1. C.bbox_size.min() - // 2. C.bbox_size.min()/2 - // 3. (C.bbox_size.min()+1)/2 auto len = (uint8_t)Math::min(nframes, (uint32_t)C.bbox_size.min()); if (len <= 1) break; |