remove some todos
authorhgn <hgodden00@gmail.com>
Mon, 4 Mar 2024 07:16:57 +0000 (07:16 +0000)
committerhgn <hgodden00@gmail.com>
Mon, 4 Mar 2024 07:16:57 +0000 (07:16 +0000)
model.h
player_glide.c
player_skate.c

diff --git a/model.h b/model.h
index a5254c2103b03212438d14256f8a770c75064de7..ae19f6f090d57848ff97fdb9d8f9df2533377a6e 100644 (file)
--- a/model.h
+++ b/model.h
@@ -273,7 +273,6 @@ struct mdl_context{
    glmesh mesh;
 };
 
-/* mesh. TODO: move? */
 void mesh_bind( glmesh *mesh );
 void mesh_drawn( u32 start, u32 count );
 void mesh_draw( glmesh *mesh );
index dd820fb7b1c8d58421c2d17d3813ce8321ce075b..df49c37db4babbab573856d929413e4502663191 100644 (file)
@@ -125,7 +125,7 @@ static void calculate_lift( v3f vl, f32 aoa_bias,
    
    f32 windv2 = v3_length2(wind),
        aoa    = atan2f( v3_dot( up, wind ), v3_dot( back, wind ) ) + aoa_bias,
-       cl     = aoa / VG_PIf, /* TODO: make it a curve */
+       cl     = aoa / VG_PIf,
        L      = windv2 * cl * power;
 
    v3f lift_dir;
index 7014c778afcdba4d3d0b49e465923e9f2b64d994..2dedefd47a3e99497e3b7390f6f1f327651be809 100644 (file)
@@ -14,6 +14,7 @@
 #include "player_glide.h"
 #include "player_dead.h"
 #include "player_walk.h"
+#include <string.h>
 
 struct player_skate player_skate;
 struct player_subsystem_interface player_subsystem_skate =