From 2e2a5d7c2c4ca159e8eebc294509975cb9c79c1a Mon Sep 17 00:00:00 2001 From: rexim Date: Sun, 26 Jan 2020 03:13:42 +0700 Subject: [PATCH] Add TODO(#1247) --- src/game/level/phantom_platforms.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.44.0