|
jaulib v1.5.0
Jau Support Library (C++, Java, ..)
|
#include <cassert>#include <cstring>#include <jau/float_math.hpp>#include <jau/test/catch2_ext.hpp>#include <jau/math/mat4f.hpp>#include <jau/math/quaternion.hpp>Go to the source code of this file.
Functions | |
| TEST_CASE ("Test 01 Normalize", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 02 Rotate Zero Vector", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 03 Invert and Conugate", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 04 Dot", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 10 Angle Axis", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 11 From Vec to Vec", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 12 From and to Euler Angles", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 13 From Euler Angles and Rotate Vec", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 14 Matrix", "[matrix][quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 15a Axes And Matrix", "[matrix][quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 15b Axes And Matrix", "[matrix][quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 15c Axes And Matrix", "[matrix][quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 20 Add Subtract", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 21 Multiply", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 22 Invert-Mult-Normal-Conjugate", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 23 Rotation Order", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 24 Axes", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 25 Slerp", "[quaternion][linear_algebra][math]") | |
| TEST_CASE ("Test 26 LookAt", "[quaternion][linear_algebra][math]") | |
Variables | |
| static constexpr const bool | DEBUG_MODE = false |
| static const Vec3f | NEG_ONE = Vec3f ( -1, -1, -1 ) |
| static const Vec4f | NEG_ONE_v4 = Vec4f ( -1, -1, -1, 0 ) |
| static const Vec3f | NEG_UNIT_X = Vec3f ( -1, 0, 0 ) |
| static const Vec3f | NEG_UNIT_Y = Vec3f ( 0, -1, 0 ) |
| static const Vec3f | NEG_UNIT_Z = Vec3f ( 0, 0, -1 ) |
| static const Vec3f | ONE = Vec3f ( 1, 1, 1 ) |
| static const Vec4f | ONE_v4 = Vec4f ( 1, 1, 1, 0 ) |
| static const Quat4f | QUAT_IDENT = Quat4f(0, 0, 0, 1) |
| static const Vec3f | UNIT_X = Vec3f ( 1, 0, 0 ) |
| static const Vec3f | UNIT_Y = Vec3f ( 0, 1, 0 ) |
| static const Vec3f | UNIT_Z = Vec3f ( 0, 0, 1 ) |
| static const Vec3f | ZERO = Vec3f ( 0, 0, 0 ) |
| TEST_CASE | ( | "Test 01 Normalize" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 57 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 02 Rotate Zero Vector" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 64 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 03 Invert and Conugate" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 70 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 04 Dot" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 85 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 10 Angle Axis" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 95 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 11 From Vec to Vec" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 124 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 12 From and to Euler Angles" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 157 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 13 From Euler Angles and Rotate Vec" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 196 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 14 Matrix" | , |
| "" | [matrix][quaternion][linear_algebra][math] ) |
Definition at line 215 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 15a Axes And Matrix" | , |
| "" | [matrix][quaternion][linear_algebra][math] ) |
Definition at line 421 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 15b Axes And Matrix" | , |
| "" | [matrix][quaternion][linear_algebra][math] ) |
Definition at line 446 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 15c Axes And Matrix" | , |
| "" | [matrix][quaternion][linear_algebra][math] ) |
Definition at line 471 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 20 Add Subtract" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 521 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 21 Multiply" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 554 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 22 Invert-Mult-Normal-Conjugate" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 618 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 23 Rotation Order" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 645 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 24 Axes" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 715 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 25 Slerp" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 735 of file test_math_quaternion.cpp.
| TEST_CASE | ( | "Test 26 LookAt" | , |
| "" | [quaternion][linear_algebra][math] ) |
Definition at line 812 of file test_math_quaternion.cpp.
Definition at line 36 of file test_math_quaternion.cpp.
Definition at line 38 of file test_math_quaternion.cpp.
Definition at line 39 of file test_math_quaternion.cpp.
Definition at line 40 of file test_math_quaternion.cpp.
Definition at line 41 of file test_math_quaternion.cpp.
Definition at line 42 of file test_math_quaternion.cpp.
Definition at line 43 of file test_math_quaternion.cpp.
Definition at line 44 of file test_math_quaternion.cpp.
Definition at line 45 of file test_math_quaternion.cpp.
Definition at line 46 of file test_math_quaternion.cpp.
Definition at line 48 of file test_math_quaternion.cpp.
Definition at line 49 of file test_math_quaternion.cpp.
|
staticconstexpr |
Definition at line 51 of file test_math_quaternion.cpp.