From 17851df33b64209eeefcc0dc096dadb8a8ff2c1a Mon Sep 17 00:00:00 2001 From: hgn Date: Mon, 4 Mar 2024 07:16:57 +0000 Subject: [PATCH] remove some todos --- model.h | 1 - player_glide.c | 2 +- player_skate.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model.h b/model.h index a5254c2..ae19f6f 100644 --- 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 ); diff --git a/player_glide.c b/player_glide.c index dd820fb..df49c37 100644 --- a/player_glide.c +++ b/player_glide.c @@ -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; diff --git a/player_skate.c b/player_skate.c index 7014c77..2dedefd 100644 --- a/player_skate.c +++ b/player_skate.c @@ -14,6 +14,7 @@ #include "player_glide.h" #include "player_dead.h" #include "player_walk.h" +#include struct player_skate player_skate; struct player_subsystem_interface player_subsystem_skate = -- 2.25.1