#include <Matrix.h>
Public Member Functions | |
Matrix22 () | |
Matrix22 (const T *dt) | |
Matrix22 (const Matrix22< T > &src) | |
template<typename FromT > | |
Matrix22 (const Matrix22< FromT > &src) | |
void | identity () |
bool | operator== (const Matrix22< T > &rhs) const |
bool | operator!= (const Matrix22< T > &rhs) const |
T & | at (int row, int col) |
const T & | at (int row, int col) const |
Matrix22< T > & | operator= (const Matrix22< T > &rhs) |
template<class FromT > | |
Matrix22< T > & | operator= (const Matrix22< FromT > &rhs) |
Matrix22< T > & | operator= (const T *rhs) |
const Matrix22< T > | operator+ (const Matrix22< T > &rhs) const |
const Matrix22< T > | operator- (const Matrix22< T > &rhs) const |
const Matrix22< T > | operator+ (T rhs) const |
const Matrix22< T > | operator- (T rhs) const |
const Matrix22< T > | operator* (T rhs) const |
const Matrix22< T > | operator/ (T rhs) const |
const Vec2< T > | operator* (const Vec3< T > &rhs) const |
const Matrix22< T > | operator* (const Matrix22< T > &rhs) const |
Matrix22< T > | transposed () const |
operator T * () | |
operator const T * () const | |
Static Public Member Functions | |
static Matrix22< T > | createRotationAroundAxis (T a) |
Public Attributes | |
T | m [4] |
Friends | |
std::ostream & | operator<< (std::ostream &lhs, const Matrix22< T > &rhs) |
cinder::Matrix22< T >::Matrix22 | ( | ) |
cinder::Matrix22< T >::Matrix22 | ( | const T * | dt | ) |
cinder::Matrix22< T >::Matrix22 | ( | const Matrix22< T > & | src | ) |
cinder::Matrix22< T >::Matrix22 | ( | const Matrix22< FromT > & | src | ) |
void cinder::Matrix22< T >::identity | ( | ) |
static Matrix22<T> cinder::Matrix22< T >::createRotationAroundAxis | ( | T | a | ) | [static] |
bool cinder::Matrix22< T >::operator== | ( | const Matrix22< T > & | rhs | ) | const |
bool cinder::Matrix22< T >::operator!= | ( | const Matrix22< T > & | rhs | ) | const |
T& cinder::Matrix22< T >::at | ( | int | row, | |
int | col | |||
) |
const T& cinder::Matrix22< T >::at | ( | int | row, | |
int | col | |||
) | const |
Matrix22<T>& cinder::Matrix22< T >::operator= | ( | const Matrix22< T > & | rhs | ) |
Matrix22<T>& cinder::Matrix22< T >::operator= | ( | const Matrix22< FromT > & | rhs | ) |
Matrix22<T>& cinder::Matrix22< T >::operator= | ( | const T * | rhs | ) |
const Matrix22<T> cinder::Matrix22< T >::operator+ | ( | const Matrix22< T > & | rhs | ) | const |
const Matrix22<T> cinder::Matrix22< T >::operator- | ( | const Matrix22< T > & | rhs | ) | const |
const Matrix22<T> cinder::Matrix22< T >::operator+ | ( | T | rhs | ) | const |
const Matrix22<T> cinder::Matrix22< T >::operator- | ( | T | rhs | ) | const |
const Matrix22<T> cinder::Matrix22< T >::operator* | ( | T | rhs | ) | const |
const Matrix22<T> cinder::Matrix22< T >::operator/ | ( | T | rhs | ) | const |
const Vec2<T> cinder::Matrix22< T >::operator* | ( | const Vec3< T > & | rhs | ) | const |
const Matrix22<T> cinder::Matrix22< T >::operator* | ( | const Matrix22< T > & | rhs | ) | const |
Matrix22<T> cinder::Matrix22< T >::transposed | ( | ) | const |
cinder::Matrix22< T >::operator T * | ( | ) |
cinder::Matrix22< T >::operator const T * | ( | ) | const |
std::ostream& operator<< | ( | std::ostream & | lhs, | |
const Matrix22< T > & | rhs | |||
) | [friend] |
T cinder::Matrix22< T >::m[4] |