FCT
|
#include <Matrix.h>
Public 成员函数 | |
Mat4 () | |
Mat4 (float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) | |
void | identity () |
void | translate (float x, float y) |
void | translate (float x, float y, float z) |
void | rotateX (float degrees) |
void | rotateY (float degrees) |
void | rotateZ (float degrees) |
Vec4 | operator* (const Vec4 &vec) const |
void | scale (float x, float y, float z) |
Mat4 | operator* (const Mat4 &rhs) const |
Mat4 & | operator*= (const Mat4 &rhs) |
静态 Public 成员函数 | |
static Mat4 | CreateTranslation (float x, float y) |
static Mat4 | CreateScale (float scaleX, float scaleY) |
static Mat4 | Translate (float x, float y) |
static Mat4 | Translate (float x, float y, float z) |
static Mat4 | Ortho (float left, float right, float bottom, float top, float zNear, float zFar) |
static Mat4 | LookAt (const Vec3 &eye, const Vec3 ¢er, const Vec3 &up) |
static Mat4 | Scale (float scaleX, float scaleY) |
static Mat4 | Scale (float scaleX, float scaleY, float scaleZ) |
static Mat4 | Perspective (float fovx, float aspect, float zNear, float zFar) |
Public 属性 | |
float | m [16] |
友元 | |
std::ostream & | operator<< (std::ostream &os, const Mat4 &mat) |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |