mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +00:00
Merge pull request #595 from OrdinaryMagician/ue1_facetfix
Another minor correction to UE1 models
This commit is contained in:
commit
09bc6614cf
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void FUE1Model::LoadGeometry()
|
|||
FVector3 dir[2];
|
||||
dir[0] = verts[Poly.V[1]+numVerts*j].Pos-verts[Poly.V[0]+numVerts*j].Pos;
|
||||
dir[1] = verts[Poly.V[2]+numVerts*j].Pos-verts[Poly.V[0]+numVerts*j].Pos;
|
||||
Poly.Normals.Push(dir[0]^dir[1]);
|
||||
Poly.Normals.Push((dir[0]^dir[1]).Unit());
|
||||
}
|
||||
// push
|
||||
polys.Push(Poly);
|
||||
|
|
Loading…
Reference in a new issue