jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Functions | Variables
test_math_mat4f_01.cpp File Reference
#include <thread>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <jau/test/catch2_ext.hpp>
#include <jau/math/mat4f.hpp>
#include <jau/math/util/sstack.hpp>
Include dependency graph for test_math_mat4f_01.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("Test 00 Load Get", "[mat4f][linear_algebra][math]")
 
 TEST_CASE ("Test 01 Mul", "[mat4f][linear_algebra][math]")
 
 TEST_CASE ("Test 02 Transpose", "[mat4f][linear_algebra][math]")
 
 TEST_CASE ("Test 10 LookAtNegZ", "[mat4f][linear_algebra][math]")
 
 TEST_CASE ("Test 11 LookAtPosY", "[mat4f][linear_algebra][math]")
 
 TEST_CASE ("Test 20 Float16Stack", "[stack][mat4f][math]")
 
 TEST_CASE ("Test 21 Mat4fStack", "[stack][mat4f][math]")
 

Variables

static const float EPSILON = std::numeric_limits<float>::epsilon()
 
static const Mat4f m1 (m1_0)
 
static const float m1_0 []
 
static const Mat4f m1T (m1T_0)
 
static const float m1T_0 []
 
static const Mat4f m1xm2 (m1xm2_0)
 
static const float m1xm2_0 []
 
static const Mat4f m2 (m2_0)
 
static const float m2_0 []
 
static const Mat4f m2xm1 (m2xm1_0)
 
static const float m2xm1_0 []
 
static const Mat4f mI (mI_0)
 
static const float mI_0 []
 

Function Documentation

◆ TEST_CASE() [1/7]

TEST_CASE ( "Test 00 Load Get"  ,
""  [mat4f][linear_algebra][math] 
)

Definition at line 75 of file test_math_mat4f_01.cpp.

◆ TEST_CASE() [2/7]

TEST_CASE ( "Test 01 Mul"  ,
""  [mat4f][linear_algebra][math] 
)

Definition at line 91 of file test_math_mat4f_01.cpp.

◆ TEST_CASE() [3/7]

TEST_CASE ( "Test 02 Transpose"  ,
""  [mat4f][linear_algebra][math] 
)

Definition at line 104 of file test_math_mat4f_01.cpp.

◆ TEST_CASE() [4/7]

TEST_CASE ( "Test 10 LookAtNegZ"  ,
""  [mat4f][linear_algebra][math] 
)

Definition at line 109 of file test_math_mat4f_01.cpp.

◆ TEST_CASE() [5/7]

TEST_CASE ( "Test 11 LookAtPosY"  ,
""  [mat4f][linear_algebra][math] 
)

Definition at line 130 of file test_math_mat4f_01.cpp.

◆ TEST_CASE() [6/7]

TEST_CASE ( "Test 20 Float16Stack"  ,
""  [stack][mat4f][math] 
)

Definition at line 152 of file test_math_mat4f_01.cpp.

◆ TEST_CASE() [7/7]

TEST_CASE ( "Test 21 Mat4fStack"  ,
""  [stack][mat4f][math] 
)

Definition at line 171 of file test_math_mat4f_01.cpp.

Variable Documentation

◆ EPSILON

const float EPSILON = std::numeric_limits<float>::epsilon()
static

Definition at line 37 of file test_math_mat4f_01.cpp.

◆ mI_0

const float mI_0[]
static
Initial value:
= { 1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1 }

Definition at line 39 of file test_math_mat4f_01.cpp.

◆ mI

const Mat4f mI(mI_0) ( mI_0  )
static

◆ m1_0

const float m1_0[]
static
Initial value:
= { 1, 3, 4, 0,
6, 7, 8, 5,
98, 7, 6, 9,
54, 3, 2, 5 }

Definition at line 45 of file test_math_mat4f_01.cpp.

◆ m1

const Mat4f m1(m1_0) ( m1_0  )
static

◆ m1T_0

const float m1T_0[]
static
Initial value:
= { 1, 6, 98, 54,
3, 7, 7, 3,
4, 8, 6, 2,
0, 5, 9, 5 }

Definition at line 51 of file test_math_mat4f_01.cpp.

◆ m1T

const Mat4f m1T(m1T_0) ( m1T_0  )
static

◆ m2_0

const float m2_0[]
static
Initial value:
= { 1, 6, 98, 54,
3, 7, 7, 3,
4, 8, 6, 2,
0, 5, 9, 5 }

Definition at line 57 of file test_math_mat4f_01.cpp.

◆ m2

const Mat4f m2(m2_0) ( m2_0  )
static

◆ m2xm1_0

const float m2xm1_0[]
static
Initial value:
= { 26, 59, 143, 71,
59, 174, 730, 386,
143, 730, 9770, 5370,
71, 386, 5370, 2954 }

Definition at line 63 of file test_math_mat4f_01.cpp.

◆ m2xm1

const Mat4f m2xm1(m2xm1_0) ( m2xm1_0  )
static

◆ m1xm2_0

const float m1xm2_0[]
static
Initial value:
= {12557, 893, 748, 1182,
893, 116, 116, 113,
748, 116, 120, 104,
1182, 113, 104, 131 }

Definition at line 69 of file test_math_mat4f_01.cpp.

◆ m1xm2

const Mat4f m1xm2(m1xm2_0) ( m1xm2_0  )
static