#include <GameApi.hh>
|
| IMPORT | MatrixApi (Env &e) |
| IMPORT M | identity () |
| IMPORT M | transpose (M m) |
| IMPORT M | xrot (float rot) |
| IMPORT M | yrot (float rot) |
| IMPORT M | zrot (float rot) |
| IMPORT M | trans (float x, float y, float z) |
| IMPORT M | trans (V vec) |
| IMPORT M | scale (float sx, float sy, float sz) |
| IMPORT M | projection (float z_min) |
| IMPORT M | perspective_projection (float dist) |
| IMPORT M | perspective (float fovy, float aspect, float near, float far) |
| IMPORT M | ortho (float left, float right, float bottom, float top, float near, float far) |
| IMPORT M | inverse (M m1) |
| IMPORT M | mult (M m1, M m2) |
| IMPORT M | rotate_around_axis (V v, float angle) |
| IMPORT M | rotate_around_axis (PT point, V v, float angle) |
| IMPORT M | keep_rotation (M m) |
| IMPORT PT | mult (PT point, M matrix) |
◆ MatrixApi()
| EXPORT GameApi::MatrixApi::MatrixApi |
( |
Env & | e | ) |
|
◆ identity()
◆ inverse()
◆ keep_rotation()
◆ mult() [1/2]
◆ mult() [2/2]
◆ ortho()
| EXPORT GameApi::M GameApi::MatrixApi::ortho |
( |
float | left, |
|
|
float | right, |
|
|
float | bottom, |
|
|
float | top, |
|
|
float | near, |
|
|
float | far ) |
◆ perspective()
| EXPORT GameApi::M GameApi::MatrixApi::perspective |
( |
float | fovy, |
|
|
float | aspect, |
|
|
float | near, |
|
|
float | far ) |
◆ perspective_projection()
| IMPORT M GameApi::MatrixApi::perspective_projection |
( |
float | dist | ) |
|
◆ projection()
| IMPORT M GameApi::MatrixApi::projection |
( |
float | z_min | ) |
|
◆ rotate_around_axis() [1/2]
| IMPORT M GameApi::MatrixApi::rotate_around_axis |
( |
PT | point, |
|
|
V | v, |
|
|
float | angle ) |
◆ rotate_around_axis() [2/2]
| IMPORT M GameApi::MatrixApi::rotate_around_axis |
( |
V | v, |
|
|
float | angle ) |
◆ scale()
◆ trans() [1/2]
◆ trans() [2/2]
| IMPORT M GameApi::MatrixApi::trans |
( |
V | vec | ) |
|
◆ transpose()
◆ xrot()
◆ yrot()
◆ zrot()
The documentation for this class was generated from the following files: