Class FbxQuaternionTest
Inheritance
FbxQuaternionTest
Syntax
public class FbxQuaternionTest
Methods
AssertSimilar(FbxQuaternion, FbxQuaternion, Double, Boolean)
Check that two quaternions represent a similar rotation.
Either they're equal (within tolerance) or they're exactly opposite.
Note that a slerp will go opposite directions if they're opposite.
If you want to use the boolean result, pass in 'nothrow' as true.
Otherwise a failed comparision will throw an exception.
Declaration
public static bool AssertSimilar(FbxQuaternion expected, FbxQuaternion actual, double tolerance = 1E-10, bool nothrow = false)
Parameters
Returns
AssertSimilar(FbxVector4, FbxQuaternion, Double, Boolean)
Declaration
public static bool AssertSimilar(FbxVector4 euler, FbxQuaternion actual, double tolerance = 1E-10, bool nothrow = false)
Parameters
Returns
BasicTests()
Declaration
TestEquality()
Declaration
public void TestEquality()