#include <gui_gl_matrix4.hpp>
Public Types | |
typedef float | T |
Public Member Functions | |
matrix4 () | |
matrix4 (std::initializer_list< T > mList) | |
matrix4 (T *mat) | |
T & | operator() (size_t i, size_t j) |
const T & | operator() (size_t i, size_t j) const |
T & | operator() (size_t i) |
const T & | operator() (size_t i) const |
void | make_translation (const vector2f &dx) |
void | make_scaling (const vector2f &scale) |
void | make_rotation (float rot) |
void | make_transformation (const vector2f &dx, const vector2f &scale, float rot) |
void | transpose () |
void | invert () |
matrix4 | operator+ (const matrix4 &m) |
matrix4 | operator- (const matrix4 &m) |
matrix4 | operator* (const matrix4 &m) |
vector2f | operator* (const vector2f &v) |
Static Public Member Functions | |
static matrix4 | translation (const vector2f &dx) |
static matrix4 | scaling (const vector2f &scale) |
static matrix4 | rotation (float rot) |
static matrix4 | transformation (const vector2f &dx, const vector2f &scale, float rot) |
static matrix4 | transpose (const matrix4 &m) |
static matrix4 | invert (const matrix4 &m) |
Public Attributes | |
T | data [4][4] |
Static Public Attributes | |
static const matrix4 | IDENTITY |
Definition at line 11 of file gui_gl_matrix4.hpp.
typedef float gui::gl::matrix4::T |
Definition at line 15 of file gui_gl_matrix4.hpp.
gui::gl::matrix4::matrix4 | ( | ) |
Definition at line 14 of file gui_gl_matrix4.cpp.
gui::gl::matrix4::matrix4 | ( | std::initializer_list< T > | mList | ) |
Definition at line 18 of file gui_gl_matrix4.cpp.
gui::gl::matrix4::matrix4 | ( | T * | mat | ) |
Definition at line 28 of file gui_gl_matrix4.cpp.
Definition at line 124 of file gui_gl_matrix4.cpp.
void gui::gl::matrix4::invert | ( | ) |
Definition at line 85 of file gui_gl_matrix4.cpp.
void gui::gl::matrix4::make_rotation | ( | float | rot | ) |
Definition at line 50 of file gui_gl_matrix4.cpp.
void gui::gl::matrix4::make_scaling | ( | const vector2f & | scale | ) |
Definition at line 42 of file gui_gl_matrix4.cpp.
void gui::gl::matrix4::make_transformation | ( | const vector2f & | dx, | |
const vector2f & | scale, | |||
float | rot | |||
) |
Definition at line 60 of file gui_gl_matrix4.cpp.
void gui::gl::matrix4::make_translation | ( | const vector2f & | dx | ) |
Definition at line 34 of file gui_gl_matrix4.cpp.
const T& gui::gl::matrix4::operator() | ( | size_t | i | ) | const [inline] |
Definition at line 36 of file gui_gl_matrix4.hpp.
T& gui::gl::matrix4::operator() | ( | size_t | i | ) | [inline] |
Definition at line 31 of file gui_gl_matrix4.hpp.
const T& gui::gl::matrix4::operator() | ( | size_t | i, | |
size_t | j | |||
) | const [inline] |
Definition at line 26 of file gui_gl_matrix4.hpp.
T& gui::gl::matrix4::operator() | ( | size_t | i, | |
size_t | j | |||
) | [inline] |
Definition at line 21 of file gui_gl_matrix4.hpp.
Definition at line 269 of file gui_gl_matrix4.cpp.
Definition at line 242 of file gui_gl_matrix4.cpp.
Definition at line 187 of file gui_gl_matrix4.cpp.
Definition at line 215 of file gui_gl_matrix4.cpp.
matrix4 gui::gl::matrix4::rotation | ( | float | rot | ) | [static] |
Definition at line 102 of file gui_gl_matrix4.cpp.
Definition at line 96 of file gui_gl_matrix4.cpp.
matrix4 gui::gl::matrix4::transformation | ( | const vector2f & | dx, | |
const vector2f & | scale, | |||
float | rot | |||
) | [static] |
Definition at line 108 of file gui_gl_matrix4.cpp.
Definition at line 90 of file gui_gl_matrix4.cpp.
Definition at line 114 of file gui_gl_matrix4.cpp.
void gui::gl::matrix4::transpose | ( | ) |
Definition at line 70 of file gui_gl_matrix4.cpp.
T gui::gl::matrix4::data[4][4] |
Definition at line 62 of file gui_gl_matrix4.hpp.
const matrix4 gui::gl::matrix4::IDENTITY [static] |
{ 1.0f,0.0f,0.0f,0.0f, 0.0f,1.0f,0.0f,0.0f, 0.0f,0.0f,1.0f,0.0f, 0.0f,0.0f,0.0f,1.0f }
Definition at line 64 of file gui_gl_matrix4.hpp.