mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-02-16 17:35:39 +00:00
fix missing polys with quad renderer
This commit is contained in:
parent
309537d64e
commit
75f8ee61a3
|
@ -966,7 +966,8 @@ void CNew3D::CopyVertexData(const R3DPoly& r3dPoly, std::vector<FVertex>& vertex
|
|||
int next2 = (i + 2) % 4;
|
||||
|
||||
if (FVertex::Equal(v[i], v[next1])) {
|
||||
FVertex::Average(v[i], v[next1], v[next2]);
|
||||
FVertex::Average(v[next1], v[next2], v[next1]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue