You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzCore/Tests/Math
Benjamin Jillich d20aa935ba
Quaternion to scaled-axis angle representation (and back) helpers (#6421)
Direct conversion helpers for quaternion to the scaled axis-angle representation and back without the need to convert them first to the axis-angle format and manually scale (or normalize on the way back). This also avoids having to deal with the special case of an identity representation which is 0,0,0 in the scaled axis-angle format while our convention for axis-angle is 0,1,0 for the axis and 0 for the angle.

Added unit tests that check the conversion round-trips from quaternion -> (scaled) axis-angle -> quaternion as well as comparing the scaled axis-angle representations from the direct helper functions as well as the axis-angle while manually scaling/normalizing.

Signed-off-by: Benjamin Jillich <jillich@amazon.com>
4 years ago
..
AabbTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColorTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CrcTests.cpp more fixes for Code 4 years ago
CrcTestsCompileTimeLiterals.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FrustumPerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
FrustumTests.cpp Remove the legacy ViewSystem and some other tangentially related legacy code. (#5558) 4 years ago
IntersectionTests.cpp Add a new implementation for cone/ray intersect to simplify code and fix issue with current implementation (#3902) 4 years ago
MathIntrinsicsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
MathTestData.h Update return type for viewport screen functions (#5803) 4 years ago
MathUtilsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Matrix3x3PerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
Matrix3x3Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Matrix3x4PerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
Matrix3x4Tests.cpp Update return type for viewport screen functions (#5803) 4 years ago
Matrix4x4PerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
Matrix4x4Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
MatrixUtilsTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ObbPerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
ObbTests.cpp Remove statistics profiler 4 years ago
PlanePerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
PlaneTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
QuaternionPerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
QuaternionTests.cpp Quaternion to scaled-axis angle representation (and back) helpers (#6421) 4 years ago
RandomTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SfmtTests.cpp Linux and non-unity build fixes 4 years ago
ShapeIntersectionPerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
ShapeIntersectionTests.cpp Code/Framework/AzCore 4 years ago
SimdMathTests.cpp Code/Framework/AzCore 4 years ago
SphereTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
SplineTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
TransformPerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
TransformTests.cpp Removes recording of memory records through the MemoryDriller 4 years ago
Vector2PerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
Vector2Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Vector3PerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
Vector3Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Vector4PerformanceTests.cpp Fixes AzCore for MSVC 4 years ago
Vector4Tests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago