openMSX
|
Go to the source code of this file.
Functions | |
template<int N, typename T > | |
void | print (const vecN< N, T > &x) |
template<int M, int N, typename T > | |
void | print (const matMxN< M, N, T > &A) |
bool | approxEq (const mat4 &x, const mat4 &y) |
int | main () |
void | test_constr (mat4 &A) |
void | test_constr (const vec4 &x, mat4 &A) |
void | test_constr (const vec4 &x, const vec4 &y, const vec4 &z, const vec4 &w, mat4 &A) |
void | test_constr (const mat4 &A, mat3 &B) |
void | test_change0 (const vec4 &x, mat4 &A) |
void | test_change2 (const vec4 &x, mat4 &A) |
void | test_extr0 (const mat4 &A, vec4 &x) |
void | test_extr2 (const mat4 &A, vec4 &x) |
bool | test_equal (const mat4 &A, const mat4 &B) |
bool | test_not_equal (const mat4 &A, const mat4 &B) |
void | test_add (const mat4 &A, const mat4 &B, mat4 &C) |
void | test_add (const mat4 &A, mat4 &B) |
void | test_sub (const mat4 &A, const mat4 &B, mat4 &C) |
void | test_negate (const mat4 &A, mat4 &B) |
void | test_mul (float x, const mat4 &A, mat4 &B) |
void | test_mul (const mat4 &A, const vec4 &x, vec4 &y) |
void | test_mul (const mat4 &A, const mat4 &B, mat4 &C) |
void | test_transpose (const mat4 &A, mat4 &B) |
void | test_determinant (const mat4 &A, float &x) |
void | test_inverse (const mat4 &A, mat4 &B) |
void | test_norm (const mat4 &A, float &x) |
Definition at line 27 of file gl_mat_Test.cc.
Referenced by main().
int main | ( | ) |
Definition at line 32 of file gl_mat_Test.cc.
References approxEq(), gl::determinant(), gl::inverse(), gl::norm2_2(), and gl::transpose().
void print | ( | const vecN< N, T > & | x | ) |
Definition at line 8 of file gl_mat_Test.cc.
Referenced by openmsx::CommandConsole::getRows(), and AdhocCliCommParser::parse().
void print | ( | const matMxN< M, N, T > & | A | ) |
Definition at line 15 of file gl_mat_Test.cc.
Definition at line 606 of file gl_mat_Test.cc.
References openmsx::B.
Definition at line 610 of file gl_mat_Test.cc.
References openmsx::A.
Definition at line 580 of file gl_mat_Test.cc.
Definition at line 584 of file gl_mat_Test.cc.
void test_constr | ( | mat4 & | A | ) |
Definition at line 563 of file gl_mat_Test.cc.
Definition at line 567 of file gl_mat_Test.cc.
Definition at line 571 of file gl_mat_Test.cc.
Definition at line 575 of file gl_mat_Test.cc.
void test_determinant | ( | const mat4 & | A, |
float & | x | ||
) |
Definition at line 641 of file gl_mat_Test.cc.
Definition at line 597 of file gl_mat_Test.cc.
References openmsx::B.
Definition at line 588 of file gl_mat_Test.cc.
Definition at line 592 of file gl_mat_Test.cc.
Definition at line 646 of file gl_mat_Test.cc.
References gl::inverse().
Definition at line 623 of file gl_mat_Test.cc.
Definition at line 627 of file gl_mat_Test.cc.
Definition at line 631 of file gl_mat_Test.cc.
References openmsx::B.
Definition at line 618 of file gl_mat_Test.cc.
References openmsx::A.
void test_norm | ( | const mat4 & | A, |
float & | x | ||
) |
Definition at line 651 of file gl_mat_Test.cc.
Definition at line 601 of file gl_mat_Test.cc.
References openmsx::B.
Definition at line 614 of file gl_mat_Test.cc.
References openmsx::B.
Definition at line 636 of file gl_mat_Test.cc.
References gl::transpose().