From: rexim Date: Sat, 25 Jan 2020 20:13:42 +0000 (+0700) Subject: Add TODO(#1247) X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=2e2a5d7c2c4ca159e8eebc294509975cb9c79c1a;p=nothing.git Add TODO(#1247) --- diff --git a/src/game/level/phantom_platforms.c b/src/game/level/phantom_platforms.c index 0e3d9d9c..877349f7 100644 --- a/src/game/level/phantom_platforms.c +++ b/src/game/level/phantom_platforms.c @@ -35,6 +35,7 @@ void phantom_platforms_render(const Phantom_Platforms *pp, const Camera *camera) #define HIDING_SPEED 4.0f +// TODO(#1247): phantom_platforms_update is O(N) even when nothing is animated void phantom_platforms_update(Phantom_Platforms *pp, float dt) { trace_assert(pp); @@ -51,6 +52,7 @@ void phantom_platforms_update(Phantom_Platforms *pp, float dt) } } +// TODO: phantom_platforms_hide_at is O(N) void phantom_platforms_hide_at(Phantom_Platforms *pp, Vec2f position) { trace_assert(pp);