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 (float x, float y) |
bool | approxEq (const vec4 &x, const vec4 &y) |
bool | approxEq (const mat4 &x, const mat4 &y) |
int | main () |
void | test_scale (float x, float y, float z, mat4 &A) |
void | test_scale (mat4 &A, float x, float y, float z, mat4 &B) |
void | test_translate (float x, float y, float z, mat4 &A) |
void | test_translate (mat4 &A, float x, float y, float z, mat4 &B) |
void | test_rotate (float a, float x, float y, float z, mat4 &A) |
void | test_ortho (float l, float r, float b, float t, float n, float f, mat4 &A) |
void | test_frustum (float l, float r, float b, float t, float n, float f, mat4 &A) |
bool approxEq | ( | float | x, |
float | y | ||
) |
Definition at line 27 of file gl_transform_Test.cc.
Definition at line 31 of file gl_transform_Test.cc.
Definition at line 35 of file gl_transform_Test.cc.
int main | ( | ) |
Definition at line 40 of file gl_transform_Test.cc.
References gl::scale().
void print | ( | const vecN< N, T > & | x | ) |
Definition at line 8 of file gl_transform_Test.cc.
void print | ( | const matMxN< M, N, T > & | A | ) |
Definition at line 15 of file gl_transform_Test.cc.
void test_frustum | ( | float | l, |
float | r, | ||
float | b, | ||
float | t, | ||
float | n, | ||
float | f, | ||
mat4 & | A | ||
) |
Definition at line 229 of file gl_transform_Test.cc.
References gl::frustum().
void test_ortho | ( | float | l, |
float | r, | ||
float | b, | ||
float | t, | ||
float | n, | ||
float | f, | ||
mat4 & | A | ||
) |
Definition at line 224 of file gl_transform_Test.cc.
References gl::ortho().
void test_rotate | ( | float | a, |
float | x, | ||
float | y, | ||
float | z, | ||
mat4 & | A | ||
) |
Definition at line 219 of file gl_transform_Test.cc.
void test_scale | ( | float | x, |
float | y, | ||
float | z, | ||
mat4 & | A | ||
) |
Definition at line 201 of file gl_transform_Test.cc.
Definition at line 205 of file gl_transform_Test.cc.
void test_translate | ( | float | x, |
float | y, | ||
float | z, | ||
mat4 & | A | ||
) |
Definition at line 210 of file gl_transform_Test.cc.
Definition at line 214 of file gl_transform_Test.cc.