#include <Matrix4.h>
Public Member Functions | |
Matrix4 (float _m00, float _m01, float _m02, float _m03, float _m10, float _m11, float _m12, float _m13, float _m20, float _m21, float _m22, float _m23, float _m30, float _m31, float _m32, float _m33) | |
kmyMath::Matrix4 | toNativeMatrix4 () |
Vector3 | translation () |
Vector3 | scale () |
Matrix4 | scaleIdentity () |
Matrix4 | translateIdentity () |
Vector3 | getEularZXY () |
Vector3 | getScale () |
Vector3 | front () |
Vector3 | back () |
Vector3 | left () |
Vector3 | right () |
Vector3 | up () |
Vector3 | down () |
Static Public Member Functions | |
static Matrix4 | perspectiveFOV (float fov, float asp, float znear, float zfar) |
static Matrix4 | ortho (float left, float right, float top, float bottom, float znear, float zfar) |
static Matrix4 | translate (float x, float y, float z) |
static Matrix4 | scale (float x, float y, float z) |
static Matrix4 | rotateX (float r) |
static Matrix4 | rotateY (float r) |
static Matrix4 | rotateZ (float r) |
static Matrix4 | identity () |
static Matrix4 | inverse (Matrix4 m) |
static Matrix4 | operator* (Matrix4 m1, Matrix4 m2) |
static Matrix4 | lookat (Vector3 eye, Vector3 target, Vector3 upvec) |
static Vector4 | operator* (Matrix4 m, Vector3 v) |
static Vector4 | operator* (Matrix4 m, Vector4 v) |
static Matrix4 | fromNativeMatrix4 (const kmyMath::Matrix4 &m) |
Public Attributes | |
float | m00 |
float | m01 |
float | m02 |
float | m03 |
float | m10 |
float | m11 |
float | m12 |
float | m13 |
float | m20 |
float | m21 |
float | m22 |
float | m23 |
float | m30 |
float | m31 |
float | m32 |
float | m33 |
SharpKmyMath::Matrix4::Matrix4 | ( | float | _m00, |
float | _m01, | ||
float | _m02, | ||
float | _m03, | ||
float | _m10, | ||
float | _m11, | ||
float | _m12, | ||
float | _m13, | ||
float | _m20, | ||
float | _m21, | ||
float | _m22, | ||
float | _m23, | ||
float | _m30, | ||
float | _m31, | ||
float | _m32, | ||
float | _m33 | ||
) |
Vector3 SharpKmyMath::Matrix4::back | ( | ) |
Vector3 SharpKmyMath::Matrix4::down | ( | ) |
|
static |
Vector3 SharpKmyMath::Matrix4::front | ( | ) |
Vector3 SharpKmyMath::Matrix4::getEularZXY | ( | ) |
Vector3 SharpKmyMath::Matrix4::getScale | ( | ) |
|
static |
Vector3 SharpKmyMath::Matrix4::left | ( | ) |
|
static |
|
static |
Vector3 SharpKmyMath::Matrix4::right | ( | ) |
|
static |
|
static |
|
static |
Vector3 SharpKmyMath::Matrix4::scale | ( | ) |
|
static |
Matrix4 SharpKmyMath::Matrix4::scaleIdentity | ( | ) |
kmyMath::Matrix4 SharpKmyMath::Matrix4::toNativeMatrix4 | ( | ) |
|
static |
Matrix4 SharpKmyMath::Matrix4::translateIdentity | ( | ) |
Vector3 SharpKmyMath::Matrix4::translation | ( | ) |
Vector3 SharpKmyMath::Matrix4::up | ( | ) |
float SharpKmyMath::Matrix4::m00 |
float SharpKmyMath::Matrix4::m01 |
float SharpKmyMath::Matrix4::m02 |
float SharpKmyMath::Matrix4::m03 |
float SharpKmyMath::Matrix4::m10 |
float SharpKmyMath::Matrix4::m11 |
float SharpKmyMath::Matrix4::m12 |
float SharpKmyMath::Matrix4::m13 |
float SharpKmyMath::Matrix4::m20 |
float SharpKmyMath::Matrix4::m21 |
float SharpKmyMath::Matrix4::m22 |
float SharpKmyMath::Matrix4::m23 |
float SharpKmyMath::Matrix4::m30 |
float SharpKmyMath::Matrix4::m31 |
float SharpKmyMath::Matrix4::m32 |
float SharpKmyMath::Matrix4::m33 |