comparison mm7_4.cpp @ 1093:c59ac5ea63f5

* stru154::GetFacePlane mistake fixed * messing with memory leaks
author zipi
date Sun, 26 May 2013 13:59:49 +0100
parents 9456f2ed5ff9
children 5d5c78088274
comparison
equal deleted inserted replaced
1092:38890b8385e4 1093:c59ac5ea63f5
3824 while ( i < pFace->uNumVertices - 2 ) 3824 while ( i < pFace->uNumVertices - 2 )
3825 { 3825 {
3826 v9 = &pVertices->pVertices[pFace->pVertexIDs[i]]; 3826 v9 = &pVertices->pVertices[pFace->pVertexIDs[i]];
3827 v12 = &pVertices->pVertices[pFace->pVertexIDs[i + 1]]; 3827 v12 = &pVertices->pVertices[pFace->pVertexIDs[i + 1]];
3828 v17 = &pVertices->pVertices[pFace->pVertexIDs[i + 2]]; 3828 v17 = &pVertices->pVertices[pFace->pVertexIDs[i + 2]];
3829 3829 i++;
3830 v1.x = v12->x - v9->x; 3830 v1.x = v12->x - v9->x;
3831 v26 = v17->x - v12->x; 3831 v26 = v17->x - v12->x;
3832 v1.y = v12->y - v9->y; 3832 v1.y = v12->y - v9->y;
3833 v27 = v17->y - v12->y; 3833 v27 = v17->y - v12->y;
3834 v1.z = v12->z - v9->z; 3834 v1.z = v12->z - v9->z;