#include <types.hpp>
|
void | rotate (float angle, double x, double y, double z) |
| Applies a rotation transform to the matrix. More...
|
|
void | mult (glm::mat4 rhs) |
|
void | translate (double x, double y, double z) |
| Applies a translation transform to the matrix. More...
|
|
void | scale (double x, double y, double z) |
| Applies a scale transform to the matrix. More...
|
|
void | ortho (double left, double right, double bottom, double top, double z_near, double z_far) |
| Sets the matrix to an orthographic projection. More...
|
|
void | perspective (double fov, double aspect, double z_near, double z_far) |
| Sets the matrix to a perspective projection. More...
|
|
void | identity () |
| Sets the matrix to the identity matrix. More...
|
|
Definition at line 119 of file types.hpp.
void gl3::GlMatrix::identity |
( |
| ) |
|
|
inline |
Sets the matrix to the identity matrix.
Definition at line 164 of file types.hpp.
void gl3::GlMatrix::mult |
( |
glm::mat4 |
rhs | ) |
|
|
inline |
void gl3::GlMatrix::ortho |
( |
double |
left, |
|
|
double |
right, |
|
|
double |
bottom, |
|
|
double |
top, |
|
|
double |
z_near, |
|
|
double |
z_far |
|
) |
| |
|
inline |
Sets the matrix to an orthographic projection.
Definition at line 147 of file types.hpp.
void gl3::GlMatrix::perspective |
( |
double |
fov, |
|
|
double |
aspect, |
|
|
double |
z_near, |
|
|
double |
z_far |
|
) |
| |
|
inline |
Sets the matrix to a perspective projection.
Definition at line 158 of file types.hpp.
void gl3::GlMatrix::rotate |
( |
float |
angle, |
|
|
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Applies a rotation transform to the matrix.
Definition at line 124 of file types.hpp.
void gl3::GlMatrix::scale |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Applies a scale transform to the matrix.
Definition at line 141 of file types.hpp.
void gl3::GlMatrix::translate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Applies a translation transform to the matrix.
Definition at line 135 of file types.hpp.
glm::mat4 gl3::GlMatrix::mtx |
The documentation for this struct was generated from the following file: