| 288 | } |
| 289 | |
| 290 | float vm_GetMagnitude(vector *a) { |
| 291 | float f; |
| 292 | |
| 293 | f = (a->x * a->x) + (a->y * a->y) + (a->z * a->z); |
| 294 | |
| 295 | return (sqrt(f)); |
| 296 | } |
| 297 | |
| 298 | void vm_ClearMatrix(matrix *dest) { memset(dest, 0, sizeof(matrix)); } |
| 299 |
no outgoing calls
no test coverage detected