summaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-08 06:23:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-08 06:23:12 +0200
commitf487b991fa3a3a7837c8e02aa0a286f159287974 (patch)
treec52942166f00f159e674836df97b51b7e0bab6cb /bench
parentad052388e4ec5d55adc3eafb1d4974e67341ab67 (diff)
c
Diffstat (limited to 'bench')
-rw-r--r--bench/critter.cpp7
1 files changed, 1 insertions, 6 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);