projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove some todos
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_glide.c
diff --git
a/player_glide.c
b/player_glide.c
index dd820fb7b1c8d58421c2d17d3813ce8321ce075b..df49c37db4babbab573856d929413e4502663191 100644
(file)
--- 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;