From f487b991fa3a3a7837c8e02aa0a286f159287974 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 8 Apr 2024 06:23:12 +0200 Subject: c --- bench/critter.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bench') 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& 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 - // [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); -- cgit v1.2.3