This function will return the center point of a flat face in global screen coordinates
| 424 | |
| 425 | // This function will return the center point of a flat face in global screen coordinates |
| 426 | void GetCenterPoint(int *x, int *y, vector *wpos) { |
| 427 | g3Point pt; |
| 428 | |
| 429 | g3_RotatePoint(&pt, wpos); |
| 430 | g3_ProjectPoint(&pt); |
| 431 | |
| 432 | *x = (int)pt.p3_sx; |
| 433 | *y = (int)pt.p3_sy; |
| 434 | } |
nothing calls this directly
no test coverage detected