]> git.lizzy.rs Git - nothing.git/commitdiff
Add TODO(#1247)
authorrexim <reximkut@gmail.com>
Sat, 25 Jan 2020 20:13:42 +0000 (03:13 +0700)
committerrexim <reximkut@gmail.com>
Sat, 25 Jan 2020 20:13:42 +0000 (03:13 +0700)
src/game/level/phantom_platforms.c

index 0e3d9d9c9c02510464c41bc1f0bf586ee1eaff8d..877349f78949b912c181910f074bbd59d2e27786 100644 (file)
@@ -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);