#include <mat4.h>
|
static mat4f | from_col_major (float t00, float t01, float t02, float t03, float t10, float t11, float t12, float t13, float t20, float t21, float t22, float t23, float t30, float t31, float t32, float t33) |
|
constexpr static mat4f | from_row_major (float t00, float t10, float t20, float t30, float t01, float t11, float t21, float t31, float t02, float t12, float t22, float t32, float t03, float t13, float t23, float t33) |
|
static mat4f | from_major (const vec4f &major) |
|
static mat4f | from_scale (const Scale3f &scale) |
|
static mat4f | from_translation (const vec3f &v) |
|
static mat4f | from_rot_x (const Angle &a) |
|
static mat4f | from_rot_y (const Angle &a) |
|
static mat4f | from_rot_z (const Angle &a) |
|
static mat4f | from_axis_angle (const AxisAngle &aa) |
|
static mat4f | create_ortho (float l, float r, float b, float t, float n, float f) |
|
static mat4f | create_perspective (const Angle &fov, float a, float near, float far) |
|
constexpr static mat4f | from_scalar (float scalar) |
|
Definition at line 13 of file mat4.h.
◆ create_ortho()
mat4f eu::mat4f::create_ortho |
( |
float |
l, |
|
|
float |
r, |
|
|
float |
b, |
|
|
float |
t, |
|
|
float |
n, |
|
|
float |
f |
|
) |
| |
|
static |
◆ create_perspective()
mat4f eu::mat4f::create_perspective |
( |
const Angle & |
fov, |
|
|
float |
a, |
|
|
float |
near, |
|
|
float |
far |
|
) |
| |
|
static |
◆ from_axis_angle()
◆ from_col_major()
mat4f eu::mat4f::from_col_major |
( |
float |
t00, |
|
|
float |
t01, |
|
|
float |
t02, |
|
|
float |
t03, |
|
|
float |
t10, |
|
|
float |
t11, |
|
|
float |
t12, |
|
|
float |
t13, |
|
|
float |
t20, |
|
|
float |
t21, |
|
|
float |
t22, |
|
|
float |
t23, |
|
|
float |
t30, |
|
|
float |
t31, |
|
|
float |
t32, |
|
|
float |
t33 |
|
) |
| |
|
static |
◆ from_major()
mat4f eu::mat4f::from_major |
( |
const vec4f & |
major | ) |
|
|
static |
◆ from_rot_x()
◆ from_rot_y()
◆ from_rot_z()
◆ from_row_major()
constexpr static mat4f eu::mat4f::from_row_major |
( |
float |
t00, |
|
|
float |
t10, |
|
|
float |
t20, |
|
|
float |
t30, |
|
|
float |
t01, |
|
|
float |
t11, |
|
|
float |
t21, |
|
|
float |
t31, |
|
|
float |
t02, |
|
|
float |
t12, |
|
|
float |
t22, |
|
|
float |
t32, |
|
|
float |
t03, |
|
|
float |
t13, |
|
|
float |
t23, |
|
|
float |
t33 |
|
) |
| |
|
inlinestaticconstexpr |
◆ from_scalar()
constexpr static mat4f eu::mat4f::from_scalar |
( |
float |
scalar | ) |
|
|
inlinestaticconstexpr |
◆ from_scale()
◆ from_translation()
mat4f eu::mat4f::from_translation |
( |
const vec3f & |
v | ) |
|
|
static |
◆ get()
float eu::mat4f::get |
( |
int |
row, |
|
|
int |
col |
|
) |
| const |
◆ get_axis()
unit3f eu::mat4f::get_axis |
( |
int |
col | ) |
const |
◆ get_column()
vec4f eu::mat4f::get_column |
( |
int |
c | ) |
const |
◆ get_column_major() [1/2]
float * eu::mat4f::get_column_major |
( |
| ) |
|
◆ get_column_major() [2/2]
const float * eu::mat4f::get_column_major |
( |
| ) |
const |
◆ get_data_ptr() [1/2]
float * eu::mat4f::get_data_ptr |
( |
| ) |
|
◆ get_data_ptr() [2/2]
const float * eu::mat4f::get_data_ptr |
( |
| ) |
const |
◆ get_inverted()
mat4f eu::mat4f::get_inverted |
( |
| ) |
const |
◆ get_major()
vec4f eu::mat4f::get_major |
( |
| ) |
const |
◆ get_mat3()
mat3f eu::mat4f::get_mat3 |
( |
| ) |
const |
◆ get_rotated()
◆ get_row()
vec4f eu::mat4f::get_row |
( |
int |
r | ) |
const |
◆ get_scaled()
◆ get_transform() [1/2]
vec3f eu::mat4f::get_transform |
( |
const vec3f & |
p, |
|
|
float |
w |
|
) |
| const |
◆ get_transform() [2/2]
vec4f eu::mat4f::get_transform |
( |
const vec4f & |
p | ) |
const |
◆ get_transform_point()
vec3f eu::mat4f::get_transform_point |
( |
const vec3f & |
p | ) |
const |
◆ get_transform_vec() [1/2]
unit3f eu::mat4f::get_transform_vec |
( |
const unit3f & |
p | ) |
const |
◆ get_transform_vec() [2/2]
vec3f eu::mat4f::get_transform_vec |
( |
const vec3f & |
p | ) |
const |
◆ get_translated()
mat4f eu::mat4f::get_translated |
( |
const vec3f & |
t | ) |
const |
◆ get_translation()
vec3f eu::mat4f::get_translation |
( |
| ) |
const |
◆ get_transposed()
mat4f eu::mat4f::get_transposed |
( |
| ) |
const |
◆ get_x_axis()
unit3f eu::mat4f::get_x_axis |
( |
| ) |
const |
◆ get_y_axis()
unit3f eu::mat4f::get_y_axis |
( |
| ) |
const |
◆ get_z_axis()
unit3f eu::mat4f::get_z_axis |
( |
| ) |
const |
◆ invert()
bool eu::mat4f::invert |
( |
| ) |
|
◆ operator+=()
void eu::mat4f::operator+= |
( |
const mat4f & |
rhs | ) |
|
◆ operator-=()
void eu::mat4f::operator-= |
( |
const mat4f & |
rhs | ) |
|
The documentation for this struct was generated from the following files: