- Initialize some variables in FModelVertex::Set

- Fix wrong normal vector in the FModelVertexBuffer constructor

This fixes models having strange flickering when the model animation frame changes
This commit is contained in:
nashmuhandes 2022-02-15 00:34:10 +08:00 committed by Rachael Alexanderson
commit 396bac5e4f
2 changed files with 3 additions and 1 deletions

View file

@ -17,6 +17,8 @@ struct FModelVertex
z = zz;
u = uu;
v = vv;
lu = 0.0f;
lv = 0.0f;
lindex = -1.0f;
}