mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 04:50:00 +00:00
fix typo
This commit is contained in:
parent
c06b971b65
commit
8fb3a3ff23
|
@ -374,7 +374,7 @@ CFileLoader::LoadCollisionModel(uint8 *buf, CColModel &model, char *modelname)
|
||||||
CVector vB = model.vertices[model.triangles[i].b].Get();
|
CVector vB = model.vertices[model.triangles[i].b].Get();
|
||||||
CVector vC = model.vertices[model.triangles[i].c].Get();
|
CVector vC = model.vertices[model.triangles[i].c].Get();
|
||||||
float area = CrossProduct(vA - vB, vA - vC).Magnitude();
|
float area = CrossProduct(vA - vB, vA - vC).Magnitude();
|
||||||
if(area < 0.001f || vA == vB || vA == vB || vB == vC){
|
if(area < 0.001f || vA == vB || vA == vC || vB == vC){
|
||||||
i--;
|
i--;
|
||||||
model.numTriangles--;
|
model.numTriangles--;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue