Lines Matching defs:centroid
1447 centroid;
1456 VectorInit3(centroid,0.0f);
1461 centroid.x += (points[i].x * points[i].w);
1462 centroid.y += (points[i].y * points[i].w);
1463 centroid.z += (points[i].z * points[i].w);
1468 centroid.x /= total;
1469 centroid.y /= total;
1470 centroid.z /= total;
1482 a.x = points[i].x - centroid.x;
1483 a.y = points[i].y - centroid.y;
1484 a.z = points[i].z - centroid.z;