#include <Matrix.h>
Public Member Functions | |
| Mat2 (float v00=1.0f, float v01=0.0f, float v10=0.0f, float v11=1.0f) | |
| --------------------------------Mat2------------------------------- | |
| Mat2 (const float *) | |
| Vec2 | operator* (const Vec2 &) const |
| Mat2 | operator* (float) const |
| Mat2 | operator* (const Mat2 &) const |
| const float * | operator* (void) const |
| Mat2 | operator/ (float) const |
| const float & | operator[] (const int) const |
| bool | operator== (const Mat2 &) const |
| float & | operator[] (int) |
| Mat2 & | operator*= (const Mat2 &) |
| Mat2 & | operator*= (float) |
| Mat2 & | operator/= (float) |
| Vec2 | getRow (int) const |
| Vec2 | getCol (int) const |
| const float & | getElement (int column, int row) const |
| Mat2 | transpose (void) const |
| float | determinant (void) const |
| Mat2 | inverse (void) const |
| bool | equals (const Mat2 &, float epsilon=0.0f) const |
| bool | equals (const float *, float epsilon=0.0f) const |
| float & | getElement (int column, int row) |
| void | setRow (int index, const Vec2 &row) |
| void | setCol (int index, const Vec2 &col) |
| void | setElement (int col, int row, float) |
| void | setIdentity (void) |
| void | setRotation (float radians=0.0f) |
| void | setScaling (const Vec2 &scaling=Vec2(1.0f, 1.0f)) |
Static Public Member Functions | |
| static Mat2 | fromIdentity (void) |
Definition at line 166 of file Matrix.h.
| RenderTools::Mat2::Mat2 | ( | float | v00 = 1.0f, |
|
| float | v01 = 0.0f, |
|||
| float | v10 = 0.0f, |
|||
| float | v11 = 1.0f | |||
| ) |
--------------------------------Mat2-------------------------------
Definition at line 533 of file Matrix.cpp.
| RenderTools::Mat2::Mat2 | ( | const float * | v | ) |
Definition at line 540 of file Matrix.cpp.
| float RenderTools::Mat2::determinant | ( | void | ) | const |
Definition at line 649 of file Matrix.cpp.
| bool RenderTools::Mat2::equals | ( | const float * | compare, | |
| float | epsilon = 0.0f | |||
| ) | const |
Definition at line 636 of file Matrix.cpp.
| bool RenderTools::Mat2::equals | ( | const Mat2 & | compare, | |
| float | epsilon = 0.0f | |||
| ) | const |
Definition at line 632 of file Matrix.cpp.
| Mat2 RenderTools::Mat2::fromIdentity | ( | void | ) | [static] |
Definition at line 676 of file Matrix.cpp.
| Vec2 RenderTools::Mat2::getCol | ( | int | index | ) | const |
Definition at line 618 of file Matrix.cpp.
| float & RenderTools::Mat2::getElement | ( | int | column, | |
| int | row | |||
| ) |
Definition at line 602 of file Matrix.cpp.
| const float & RenderTools::Mat2::getElement | ( | int | column, | |
| int | row | |||
| ) | const |
Definition at line 598 of file Matrix.cpp.
| Vec2 RenderTools::Mat2::getRow | ( | int | index | ) | const |
Definition at line 614 of file Matrix.cpp.
| Mat2 RenderTools::Mat2::inverse | ( | void | ) | const |
Definition at line 653 of file Matrix.cpp.
| const float * RenderTools::Mat2::operator* | ( | void | ) | const |
Definition at line 594 of file Matrix.cpp.
Definition at line 551 of file Matrix.cpp.
| Mat2 RenderTools::Mat2::operator* | ( | float | b | ) | const |
Definition at line 568 of file Matrix.cpp.
Definition at line 544 of file Matrix.cpp.
| Mat2& RenderTools::Mat2::operator*= | ( | float | ) |
Definition at line 560 of file Matrix.cpp.
| Mat2 RenderTools::Mat2::operator/ | ( | float | b | ) | const |
Definition at line 577 of file Matrix.cpp.
| Mat2 & RenderTools::Mat2::operator/= | ( | float | b | ) |
Definition at line 564 of file Matrix.cpp.
| bool RenderTools::Mat2::operator== | ( | const Mat2 & | b | ) | const |
Definition at line 610 of file Matrix.cpp.
| float & RenderTools::Mat2::operator[] | ( | int | index | ) |
Definition at line 586 of file Matrix.cpp.
| const float & RenderTools::Mat2::operator[] | ( | const int | index | ) | const |
Definition at line 590 of file Matrix.cpp.
| void RenderTools::Mat2::setCol | ( | int | index, | |
| const Vec2 & | col | |||
| ) |
Definition at line 627 of file Matrix.cpp.
| void RenderTools::Mat2::setElement | ( | int | col, | |
| int | row, | |||
| float | v | |||
| ) |
Definition at line 606 of file Matrix.cpp.
| void RenderTools::Mat2::setIdentity | ( | void | ) |
Definition at line 669 of file Matrix.cpp.
| void RenderTools::Mat2::setRotation | ( | float | radians = 0.0f |
) |
| void RenderTools::Mat2::setRow | ( | int | index, | |
| const Vec2 & | row | |||
| ) |
Definition at line 622 of file Matrix.cpp.
| Mat2 RenderTools::Mat2::transpose | ( | void | ) | const |
Definition at line 645 of file Matrix.cpp.
1.5.8