Finds the world coordinate center of a surface
| 299 | |
| 300 | // Finds the world coordinate center of a surface |
| 301 | void GetCenterOfSurface(rad_surface *sp, vector *dest) { vm_GetCentroid(dest, sp->verts, sp->num_verts); } |
| 302 | |
| 303 | // Finds the world coordinate center of a surface |
| 304 | void GetCenterOfElement(rad_element *ep, vector *dest) { vm_GetCentroid(dest, ep->verts, ep->num_verts); } |
no test coverage detected