#include <math.h>
Go to the source code of this file.
|
static vec3 | normalize (const vec3 &v) |
|
static mat4 | transpose (const mat4 &m) |
|
static mat4 | perspective (float fovy, float aspect, float z_near, float z_far) |
|
static mat4 | orthographic (float left, float right, float bottom, float top, float z_near, float z_far) |
|
static mat4 | rotateX (float rad) |
|
static mat4 | rotateY (float rad) |
|
static mat4 | rotateZ (float rad) |
|
static mat4 | translate (float x, float y, float z) |
|
static mat4 | translate (const vec3 &v) |
|
static mat4 | scale (float x, float y, float z) |
|
static mat4 | scale (float s) |
|
static mat4 orthographic |
( |
float |
left, |
|
|
float |
right, |
|
|
float |
bottom, |
|
|
float |
top, |
|
|
float |
z_near, |
|
|
float |
z_far |
|
) |
| |
|
static |
static mat4 perspective |
( |
float |
fovy, |
|
|
float |
aspect, |
|
|
float |
z_near, |
|
|
float |
z_far |
|
) |
| |
|
static |
static mat4 rotateX |
( |
float |
rad | ) |
|
|
static |
static mat4 rotateY |
( |
float |
rad | ) |
|
|
static |
static mat4 rotateZ |
( |
float |
rad | ) |
|
|
static |
static mat4 scale |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
static |
static mat4 scale |
( |
float |
s | ) |
|
|
static |
static mat4 translate |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
static |