| 841 | } |
| 842 | |
| 843 | Vector4d Matrix4dTransform( Vector4d point, double* mat ) |
| 844 | { |
| 845 | return Vector4d( |
| 846 | point.x * mat[0] + point.y * mat[4] + point.z * mat[8] + point.w * mat[12], |
| 847 | point.x * mat[1] + point.y * mat[5] + point.z * mat[9] + point.w * mat[13], |
| 848 | point.x * mat[2] + point.y * mat[6] + point.z * mat[10] + point.w * mat[14], |
| 849 | point.x * mat[3] + point.y * mat[7] + point.z * mat[11] + point.w * mat[15] ); |
| 850 | } |
| 851 | |
| 852 | |
| 853 | Matrix Matrix4dToMatrix( double* mat ) |
no test coverage detected