| 218 | |
| 219 | template <typename T> |
| 220 | bool Matrix3<T>::invert() |
| 221 | { |
| 222 | Matrix3<T> inv; |
| 223 | bool success = inverse(inv); |
| 224 | if (success) { |
| 225 | *this = inv; |
| 226 | } |
| 227 | return success; |
| 228 | } |
| 229 | |
| 230 | // create rotation matrix for rotation about the vector v by angle theta |
| 231 | // See: http://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToMatrix/ |
no outgoing calls
no test coverage detected