| 31 | |
| 32 | |
| 33 | bool FBXIsValidMatrix(const FbxAMatrix& mat) |
| 34 | { |
| 35 | // Check that scales aren't zero and quaternions don't have //1.#QNAN0 values |
| 36 | if (mat.GetQ()[0] != mat.GetQ()[0] || |
| 37 | mat.GetS()[0] == 0) |
| 38 | { |
| 39 | return false; |
| 40 | } |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | FbxAMatrix FBXCorrectMatrix(const FbxAMatrix& mat) |
| 45 | { |
no outgoing calls
no test coverage detected