diff options
-rw-r--r-- | bench/critter.cpp | 7 | ||||
-rw-r--r-- | test/critter.cpp | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/bench/critter.cpp b/bench/critter.cpp index 7b38505d..56bfa9b5 100644 --- a/bench/critter.cpp +++ b/bench/critter.cpp @@ -118,7 +118,7 @@ bool run(world& w, const function_view<Ns() const>& make_dt, Ns time{0}, saved_time{0}; auto last_pos = npc.position(); uint32_t i; - constexpr auto max_stop_frames = 250; // todo! detect collisions properly and don't rely on this + constexpr auto max_stop_frames = 250; // todo detect collisions properly and don't rely on this uint32_t frames_stopped = 0; if (!start.quiet) [[unlikely]] @@ -290,11 +290,6 @@ void test2(StringView instance_name, const Function& make_dt, double accel) void test_critter() { - // todo! add ANSI sequence to stdout to goto start of line and clear to eol - // \r - // <ESC>[2K - // \n - test1("dt=16.667 accel=1", constantly(Millisecond * 16.667), 1); test1("dt=16.667 accel=2", constantly(Millisecond * 16.667), 2); test1("dt=16.667 accel=5", constantly(Millisecond * 16.667), 5); diff --git a/test/critter.cpp b/test/critter.cpp index fe51d329..cc46ef72 100644 --- a/test/critter.cpp +++ b/test/critter.cpp @@ -127,7 +127,7 @@ bool run(world& w, const function_view<Ns() const>& make_dt, Ns time{0}, saved_time{0}; auto last_pos = npc.position(); uint32_t i; - constexpr auto max_stop_frames = 250; // todo! detect collisions properly and don't rely on this + constexpr auto max_stop_frames = 250; // todo detect collisions properly and don't rely on this uint32_t frames_stopped = 0; if (!start.quiet) [[unlikely]] @@ -349,11 +349,6 @@ void test3(StringView instance_name, const Function& make_dt, double accel, rota void test_app::test_critter() { - // todo! add ANSI sequence to stdout to goto start of line and clear to eol - // \r - // <ESC>[2K - // \n - const bool is_noisy = !Start{}.quiet; if (is_noisy) DBG_nospace << ""; |