Makes an abbrievated version of a matrix
| 3030 | |
| 3031 | // Makes an abbrievated version of a matrix |
| 3032 | void MultiMakeMatrix(multi_orientation *dest, matrix *src) { |
| 3033 | dest->multi_matrix[0] = (src->rvec.x * 32767.0); |
| 3034 | dest->multi_matrix[1] = (src->rvec.y * 32767.0); |
| 3035 | dest->multi_matrix[2] = (src->rvec.z * 32767.0); |
| 3036 | |
| 3037 | dest->multi_matrix[3] = (src->uvec.x * 32767.0); |
| 3038 | dest->multi_matrix[4] = (src->uvec.y * 32767.0); |
| 3039 | dest->multi_matrix[5] = (src->uvec.z * 32767.0); |
| 3040 | |
| 3041 | dest->multi_matrix[6] = (src->fvec.x * 32767.0); |
| 3042 | dest->multi_matrix[7] = (src->fvec.y * 32767.0); |
| 3043 | dest->multi_matrix[8] = (src->fvec.z * 32767.0); |
| 3044 | } |
| 3045 | |
| 3046 | // Extracts a matrix from an abbreviated matrix |
| 3047 | void MultiExtractMatrix(matrix *dest, multi_orientation *src) { |
no outgoing calls
no test coverage detected