diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-24 23:39:39 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-24 23:39:39 +0100 |
commit | 0223fe52b79ca4320121eeb02d5d4d904f6b48fd (patch) | |
tree | 301116229ad83b3dec13e75aeabb202d7315ac41 | |
parent | f97fc145a3e70598446c3672dcbb528e181777c1 (diff) |
add todo
-rw-r--r-- | src/critter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/critter.cpp b/src/critter.cpp index c00bf8b4..e9a4794a 100644 --- a/src/critter.cpp +++ b/src/critter.cpp @@ -175,6 +175,10 @@ 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; |