- 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:
parent
64ee08d80b
commit
396bac5e4f
2 changed files with 3 additions and 1 deletions
|
|
@ -17,6 +17,8 @@ struct FModelVertex
|
|||
z = zz;
|
||||
u = uu;
|
||||
v = vv;
|
||||
lu = 0.0f;
|
||||
lv = 0.0f;
|
||||
lindex = -1.0f;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue