Skip to content

Commit

Permalink
Remove force initialize of Fvector
Browse files Browse the repository at this point in the history
Co-Authored-By: eagleivg <[email protected]>
  • Loading branch information
Xottab-DUTY and eagleivg authored Nov 9, 2018
1 parent af2dab6 commit 55738b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/xrGame/player_hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,6 @@ void player_hud::update_inertion(Fmatrix& trans)

// clamp by PI_DIV_2
Fvector last;
last.set(0,0,0);
last.normalize_safe(st_last_dir);
float dot = last.dotproduct(xform.k);
if (dot < EPS)
Expand Down

0 comments on commit 55738b4

Please sign in to comment.