]> git.lizzy.rs Git - nothing.git/blobdiff - src/game/level/phantom_platforms.c
Add TODO(#1247)
[nothing.git] / 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);