#include <Matrix2.h>
G3D::Matrix2::Matrix2 |
( |
| ) |
|
|
inline |
18 data[0][0] = 1.0f;
data[0][1] = 0.0f;
19 data[1][0] = 0.0f;
data[1][1] = 1.0f;
float data[2][2]
Definition: Matrix2.h:13
G3D::Matrix2::Matrix2 |
( |
float |
v00, |
|
|
float |
v01, |
|
|
float |
v10, |
|
|
float |
v11 |
|
) |
| |
|
inline |
float data[2][2]
Definition: Matrix2.h:13
float G3D::Matrix2::determinant |
( |
| ) |
const |
|
inline |
float data[2][2]
Definition: Matrix2.h:13
static Matrix2 G3D::Matrix2::identity |
( |
| ) |
|
|
inlinestatic |
28 return Matrix2(1.0f, 0.0f, 0.0f, 1.0f);
Matrix2()
Definition: Matrix2.h:17
Matrix2 G3D::Matrix2::inverse |
( |
| ) |
const |
|
inline |
float determinant() const
Definition: Matrix2.h:46
float data[2][2]
Definition: Matrix2.h:13
Matrix2()
Definition: Matrix2.h:17
G3D::Matrix2::operator const float * |
( |
| ) |
const |
|
inline |
75 return (
const float*)&
data[0][0];
float data[2][2]
Definition: Matrix2.h:13
G3D::Matrix2::operator float * |
( |
| ) |
|
|
inline |
71 return (
float*)&
data[0][0];
float data[2][2]
Definition: Matrix2.h:13
32 return Vector2(
data[0][0] * v[0] +
data[0][1] * v[1],
33 data[1][0] * v[0] +
data[1][1] * v[1]);
float data[2][2]
Definition: Matrix2.h:13
Matrix2 G3D::Matrix2::operator* |
( |
float |
f | ) |
const |
|
inline |
float data[2][2]
Definition: Matrix2.h:13
Matrix2()
Definition: Matrix2.h:17
Matrix2 G3D::Matrix2::operator/ |
( |
float |
f | ) |
const |
|
inline |
float data[2][2]
Definition: Matrix2.h:13
Matrix2()
Definition: Matrix2.h:17
float* G3D::Matrix2::operator[] |
( |
int |
i | ) |
|
|
inline |
62 return (
float*)&
data[i][0];
float data[2][2]
Definition: Matrix2.h:13
#define debugAssert(exp)
Definition: debugAssert.h:160
const float* G3D::Matrix2::operator[] |
( |
int |
i | ) |
const |
|
inline |
67 return (
const float*)&
data[i][0];
float data[2][2]
Definition: Matrix2.h:13
#define debugAssert(exp)
Definition: debugAssert.h:160
Matrix2 G3D::Matrix2::transpose |
( |
| ) |
const |
|
inline |
float data[2][2]
Definition: Matrix2.h:13
Matrix2()
Definition: Matrix2.h:17
float G3D::Matrix2::data[2][2] |
|
private |
The documentation for this class was generated from the following file: