mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-29 15:53:45 +00:00
fix typo
This commit is contained in:
parent
c06b971b65
commit
8fb3a3ff23
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ CFileLoader::LoadCollisionModel(uint8 *buf, CColModel &model, char *modelname)
|
|||
CVector vB = model.vertices[model.triangles[i].b].Get();
|
||||
CVector vC = model.vertices[model.triangles[i].c].Get();
|
||||
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--;
|
||||
model.numTriangles--;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue