X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=a1cad243f7e33d499e7b414bce967483c20859e3;hb=d13f2700b1773551307685cc7c34c804ccd6d664;hp=a9197a4a9a0bf65fa75c991d5170092841c3045c;hpb=5f4eb3866525724188461589485ac1aa50d08870;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index a9197a4..a1cad24 100644 --- a/common.h +++ b/common.h @@ -35,19 +35,7 @@ struct ray_hit v3f pos, normal; }; -/* TODO: he needs a home somewhere */ -static void eval_bezier_time( v3f p0, v3f p1, v3f h0, v3f h1, float t, v3f p ) -{ - float tt = t*t, - ttt = tt*t; +static int network_scores_updated = 0; - v3_muls( p1, ttt, p ); - v3_muladds( p, h1, 3.0f*tt -3.0f*ttt, p ); - v3_muladds( p, h0, 3.0f*ttt -6.0f*tt +3.0f*t, p ); - v3_muladds( p, p0, 3.0f*tt -ttt -3.0f*t +1.0f, p ); -} - -/* TODO: he needs a home somewhere */ -sfx_vol_control audio_vol_all = { .val = 1.0f, .name = "All" }; #endif /* COMMON_H */