Blender V4.3
blender::math::tests Namespace Reference

Functions

 TEST (math_rotation, DefaultConstructor)
 
 TEST (math_rotation, RotateDirectionAroundAxis)
 
 TEST (math_rotation, AxisAngleConstructors)
 
 TEST (math_rotation, QuaternionDot)
 
 TEST (math_rotation, QuaternionConjugate)
 
 TEST (math_rotation, QuaternionNormalize)
 
 TEST (math_rotation, QuaternionInvert)
 
 TEST (math_rotation, QuaternionCanonicalize)
 
 TEST (math_rotation, QuaternionAngleBetween)
 
 TEST (math_rotation, QuaternionPower)
 
 TEST (math_rotation, QuaternionFromTriangle)
 
 TEST (math_rotation, QuaternionFromVector)
 
 TEST (math_rotation, QuaternionWrappedAround)
 
 TEST (math_rotation, QuaternionFromTracking)
 
 TEST (math_rotation, EulerWrappedAround)
 
 TEST (math_rotation, Euler3ToGimbal)
 
 TEST (math_rotation, CartesianBasis)
 
 TEST (math_rotation, Transform)
 
 TEST (math_rotation, DualQuaternionNormalize)
 
 TEST (math_rotation, DualQuaternionFromMatrix)
 
 TEST (math_rotation, DualQuaternionTransform)
 
 TEST (math_axis_angle, AxisAngleFromQuaternion)
 

Function Documentation

◆ TEST() [1/22]

blender::math::tests::TEST ( math_axis_angle ,
AxisAngleFromQuaternion  )

Definition at line 882 of file BLI_math_rotation_test.cc.

References e, and blender::math::to_axis_angle().

◆ TEST() [2/22]

◆ TEST() [3/22]

◆ TEST() [4/22]

blender::math::tests::TEST ( math_rotation ,
DefaultConstructor  )

Definition at line 303 of file BLI_math_rotation_test.cc.

References EXPECT_EQ().

◆ TEST() [5/22]

◆ TEST() [6/22]

blender::math::tests::TEST ( math_rotation ,
DualQuaternionNormalize  )

◆ TEST() [7/22]

blender::math::tests::TEST ( math_rotation ,
DualQuaternionTransform  )

◆ TEST() [8/22]

blender::math::tests::TEST ( math_rotation ,
Euler3ToGimbal  )

◆ TEST() [9/22]

blender::math::tests::TEST ( math_rotation ,
EulerWrappedAround  )

◆ TEST() [10/22]

◆ TEST() [11/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionCanonicalize  )

Definition at line 391 of file BLI_math_rotation_test.cc.

References blender::math::canonicalize().

◆ TEST() [12/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionConjugate  )

Definition at line 367 of file BLI_math_rotation_test.cc.

References blender::math::conjugate(), EXPECT_EQ(), and q1.

◆ TEST() [13/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionDot  )

Definition at line 360 of file BLI_math_rotation_test.cc.

References blender::math::dot(), EXPECT_EQ(), and q1.

◆ TEST() [14/22]

◆ TEST() [15/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionFromTriangle  )

Definition at line 440 of file BLI_math_rotation_test.cc.

References blender::math::from_triangle(), and v2.

◆ TEST() [16/22]

◆ TEST() [17/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionInvert  )

◆ TEST() [18/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionNormalize  )

Definition at line 373 of file BLI_math_rotation_test.cc.

References normalize(), and q1.

◆ TEST() [19/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionPower  )

Definition at line 417 of file BLI_math_rotation_test.cc.

References e, normalize(), blender::math::pow(), and q1.

◆ TEST() [20/22]

blender::math::tests::TEST ( math_rotation ,
QuaternionWrappedAround  )

Definition at line 568 of file BLI_math_rotation_test.cc.

References normalize(), and q1.

◆ TEST() [21/22]

blender::math::tests::TEST ( math_rotation ,
RotateDirectionAroundAxis  )

◆ TEST() [22/22]