shz::mat4x4
C++ type shz::mat4x4.
- Header:
#include <sh4zam/shz_matrix.hpp>(source) - C type:
shz_mat4x4_t(layout-compatible; the C API accepts it directly) - Bases:
shz_mat4x4_t
Static functions
Section titled “Static functions”static void copy(shz_mat4x4_t *lhs, const shz_mat4x4_t &rhs) noexceptstatic void copy(shz_mat4x4_t *lhs, const float rhs[16]) noexceptCalls: shz_mat4x4_copy(), shz_mat4x4_copy_unaligned()
static void mult(shz_mat4x4_t *dst, const shz_mat4x4_t &lhs, const shz_mat4x4_t &rhs) noexceptstatic void mult(shz_mat4x4_t *dst, const shz_mat4x4_t &lhs, const float rhs[16]) noexceptCalls: shz_mat4x4_mult(), shz_mat4x4_mult_unaligned()
mult_transpose
Section titled “mult_transpose”static void mult_transpose(shz_mat4x4_t *dst, const shz_mat4x4_t &lhs, const shz_mat4x4_t &rhs) noexceptstatic void mult_transpose(shz_mat4x4_t *dst, const shz_mat4x4_t &lhs, const float rhs[16]) noexceptCalls: shz_mat4x4_mult_transpose(), shz_mat4x4_mult_transpose_unaligned()
Members
Section titled “Members”init_identity
Section titled “init_identity”void init_identity() noexceptCalls: shz_mat4x4_init_identity()
init_zero
Section titled “init_zero”void init_zero() noexceptCalls: shz_mat4x4_init_zero()
init_one
Section titled “init_one”void init_one() noexceptCalls: shz_mat4x4_init_one()
init_fill
Section titled “init_fill”void init_fill(float value) noexceptCalls: shz_mat4x4_init_fill()
init_translation
Section titled “init_translation”void init_translation(float x, float y, float z) noexceptvoid init_translation(const vec3 &v) noexceptCalls: shz_mat4x4_init_translation()
init_scale
Section titled “init_scale”void init_scale(float x, float y, float z) noexceptvoid init_scale(const vec3 &v) noexceptCalls: shz_mat4x4_init_scale()
init_rotation_x
Section titled “init_rotation_x”void init_rotation_x(float angle) noexceptvoid init_rotation_x(T angle) noexceptvoid init_rotation_x(uint16_t angle) noexceptCalls: shz_mat4x4_init_rotation_x(), shz_mat4x4_init_rotation_x_u16()
init_rotation_y
Section titled “init_rotation_y”void init_rotation_y(float angle) noexceptvoid init_rotation_y(T angle) noexceptvoid init_rotation_y(uint16_t angle) noexceptCalls: shz_mat4x4_init_rotation_y(), shz_mat4x4_init_rotation_y_u16()
init_rotation_z
Section titled “init_rotation_z”void init_rotation_z(float angle) noexceptvoid init_rotation_z(T angle) noexceptvoid init_rotation_z(uint16_t angle) noexceptCalls: shz_mat4x4_init_rotation_z(), shz_mat4x4_init_rotation_z_u16()
init_rotation_xyz
Section titled “init_rotation_xyz”void init_rotation_xyz(float xAngle, float yAngle, float zAngle) noexceptvoid init_rotation_xyz(const vec3 &angles) noexceptvoid init_rotation_xyz(uint16_t xAngle, uint16_t yAngle, uint16_t zAngle) noexceptvoid init_rotation_xyz(X xAngle, Y yAngle, Z zAngle) noexceptCalls: shz_mat4x4_init_rotation_xyz(), shz_mat4x4_init_rotation_xyz_u16()
init_rotation_zyx
Section titled “init_rotation_zyx”void init_rotation_zyx(float zAngle, float yAngle, float xAngle) noexceptvoid init_rotation_zyx(const vec3 &angles) noexceptvoid init_rotation_zyx(uint16_t zAngle, uint16_t yAngle, uint16_t xAngle) noexceptvoid init_rotation_zyx(Z zAngle, Y yAngle, X xAngle) noexceptCalls: shz_mat4x4_init_rotation_zyx(), shz_mat4x4_init_rotation_zyx_u16()
init_rotation_zxy
Section titled “init_rotation_zxy”void init_rotation_zxy(float zAngle, float xAngle, float yAngle) noexceptvoid init_rotation_zxy(const vec3 &angles) noexceptvoid init_rotation_zxy(uint16_t zAngle, uint16_t xAngle, uint16_t yAngle) noexceptvoid init_rotation_zxy(Z zAngle, X xAngle, Y yAngle) noexceptCalls: shz_mat4x4_init_rotation_zxy(), shz_mat4x4_init_rotation_zxy_u16()
init_rotation_yxz
Section titled “init_rotation_yxz”void init_rotation_yxz(float yAngle, float xAngle, float zAngle) noexceptvoid init_rotation_yxz(const vec3 &angles) noexceptvoid init_rotation_yxz(uint16_t yAngle, uint16_t xAngle, uint16_t zAngle) noexceptvoid init_rotation_yxz(Y yAngle, X xAngle, Z zAngle) noexceptCalls: shz_mat4x4_init_rotation_yxz(), shz_mat4x4_init_rotation_yxz_u16()
init_rotation_x_yz
Section titled “init_rotation_x_yz”void init_rotation_x_yz(float y, float z) noexceptC++ wrapper around shz_mat4x4_init_rotation_x_yz().
Calls: shz_mat4x4_init_rotation_x_yz()
init_rotation_y_xz
Section titled “init_rotation_y_xz”void init_rotation_y_xz(float x, float z) noexceptC++ wrapper around shz_mat4x4_init_rotation_y_xz().
Calls: shz_mat4x4_init_rotation_y_xz()
init_rotation_z_xy
Section titled “init_rotation_z_xy”void init_rotation_z_xy(float x, float y) noexceptC++ wrapper around shz_mat4x4_init_rotation_z_xy().
Calls: shz_mat4x4_init_rotation_z_xy()
init_billboard_x
Section titled “init_billboard_x”void init_billboard_x(const vec3 &pos, const vec3 &eye) noexceptC++ wrapper around shz_mat4x4_init_billboard_x().
Calls: shz_mat4x4_init_billboard_x()
init_billboard_y
Section titled “init_billboard_y”void init_billboard_y(const vec3 &pos, const vec3 &eye) noexceptC++ wrapper around shz_mat4x4_init_billboard_y().
Calls: shz_mat4x4_init_billboard_y()
init_billboard_z
Section titled “init_billboard_z”void init_billboard_z(const vec3 &pos, const vec3 &eye) noexceptC++ wrapper around shz_mat4x4_init_billboard_z().
Calls: shz_mat4x4_init_billboard_z()
init_rotation
Section titled “init_rotation”void init_rotation(float angle, float x, float y, float z) noexceptvoid init_rotation(float angle, const vec3 &axis) noexceptvoid init_rotation(const quat &q) noexceptCalls: shz_mat4x4_init_rotation(), shz_mat4x4_init_rotation_quat()
init_rotation_dir
Section titled “init_rotation_dir”void init_rotation_dir(float angle, float x, float y, float z) noexceptvoid init_rotation_dir(float angle, const vec3 &dir) noexceptCalls: shz_mat4x4_init_rotation_dir()
init_diagonal
Section titled “init_diagonal”void init_diagonal(float x, float y, float z, float w) noexceptvoid init_diagonal(const vec4 &v) noexceptCalls: shz_mat4x4_init_diagonal()
init_upper_triangular
Section titled “init_upper_triangular”void init_upper_triangular(float col1, const vec2 &col2, const vec3 &col3, const vec4 &col4) noexceptCalls: shz_mat4x4_init_upper_triangular()
init_lower_triangular
Section titled “init_lower_triangular”void init_lower_triangular(const vec4 &col1, const vec3 &col2, const vec2 &col3, float col4) noexceptCalls: shz_mat4x4_init_lower_triangular()
init_symmetric_skew
Section titled “init_symmetric_skew”void init_symmetric_skew(float x, float y, float z) noexceptvoid init_symmetric_skew(const vec3 &v) noexceptCalls: shz_mat4x4_init_symmetric_skew()
init_outer_product
Section titled “init_outer_product”void init_outer_product(const vec4 &v1, const vec4 &v2) noexceptCalls: shz_mat4x4_init_outer_product()
init_permutation_wxyz
Section titled “init_permutation_wxyz”void init_permutation_wxyz() noexceptCalls: shz_mat4x4_init_permutation_wxyz()
init_permutation_yzwx
Section titled “init_permutation_yzwx”void init_permutation_yzwx() noexceptCalls: shz_mat4x4_init_permutation_yzwx()
init_screen
Section titled “init_screen”void init_screen(float width, float height) noexceptCalls: shz_mat4x4_init_screen()
init_lookat
Section titled “init_lookat”void init_lookat(const vec3 &eye, const vec3 ¢er, const vec3 &up) noexceptCalls: shz_mat4x4_init_lookat()
init_ortho
Section titled “init_ortho”void init_ortho(float left, float right, float bottom, float top, float znear, float zfar) noexceptCalls: shz_mat4x4_init_ortho()
init_frustum
Section titled “init_frustum”void init_frustum(float left, float right, float bottom, float top, float znear, float zfar) noexceptCalls: shz_mat4x4_init_frustum()
init_perspective
Section titled “init_perspective”void init_perspective(float fov, float aspect, float znear) noexceptCalls: shz_mat4x4_init_perspective()
vec4 row(size_t index) const noexceptC++ wrapper for shz_mat4x4_row().
Calls: shz_mat4x4_row()
vec4 col(size_t index) const noexceptC++ wrapper for shz_mat4x4_col().
Calls: shz_mat4x4_col()
get_translation
Section titled “get_translation”vec3 get_translation() const noexceptCalls: shz_mat4x4_get_translation()
get_scale
Section titled “get_scale”vec3 get_scale() const noexceptReturns the scaling components from the inner 3x3 matrix of XMTRX, as a 3D vector.
Calls: shz_mat4x4_get_scale()
get_rotation
Section titled “get_rotation”void get_rotation(float *radians, shz_vec3_t *axis) const noexceptstd::pair< float, vec3 > get_rotation() const noexceptReturns both the angle and axis of rotation through the pointer arguments.
Calls: shz_mat4x4_get_rotation()
set_row
Section titled “set_row”void set_row(size_t index, vec4 values) noexceptCalls: shz_mat4x4_set_row()
set_col
Section titled “set_col”void set_col(size_t index, vec4 values) noexceptCalls: shz_mat4x4_set_col()
swap_rows
Section titled “swap_rows”void swap_rows(size_t row1, size_t row2) noexceptCalls: shz_mat4x4_swap_rows()
swap_cols
Section titled “swap_cols”void swap_cols(size_t col1, size_t col2) noexceptCalls: shz_mat4x4_swap_cols()
set_translation
Section titled “set_translation”void set_translation(float x, float y, float z) noexceptvoid set_translation(const vec3 &v) noexceptCalls: shz_mat4x4_set_translation()
set_scale
Section titled “set_scale”void set_scale(float x, float y, float z) noexceptvoid set_scale(const vec3 &v) noexceptCalls: shz_mat4x4_set_scale()
set_rotation
Section titled “set_rotation”void set_rotation(const quat &rot) noexceptCalls: shz_mat4x4_set_rotation_quat()
set_diagonal
Section titled “set_diagonal”void set_diagonal(float x, float y, float z, float w) noexceptvoid set_diagonal(const vec4 &v) noexceptCalls: shz_mat4x4_set_diagonal()
void apply(const shz_mat4x4_t &mat) noexceptvoid apply(const float mat[16]) noexceptCalls: shz_mat4x4_apply(), shz_mat4x4_apply_unaligned()
apply_transpose
Section titled “apply_transpose”void apply_transpose(const shz_mat4x4_t &mat) noexceptvoid apply_transpose(const float mat[16]) noexceptCalls: shz_mat4x4_apply_transpose(), shz_mat4x4_apply_transpose_unaligned()
scale_3x3
Section titled “scale_3x3”void scale_3x3(float x, float y, float z) noexceptvoid scale_3x3(const vec3 &v) noexceptCalls: shz_mat4x4_scale_3x3()
add_translation
Section titled “add_translation”void add_translation(float x, float y, float z) noexceptvoid add_translation(const vec3 &v) noexceptCalls: shz_mat4x4_add_translation()
lookat
Section titled “lookat”void lookat(vec3 pos, vec3 target, vec3 up) noexceptCalls: shz_mat4x4_lookat()
void ortho(float left, float right, float bottom, float top, float znear, float zfar) noexceptCalls: shz_mat4x4_ortho()
frustum
Section titled “frustum”void frustum(float left, float right, float bottom, float top, float znear, float zfar) noexceptCalls: shz_mat4x4_frustum()
perspective
Section titled “perspective”void perspective(float fov, float aspect, float znear) noexceptCalls: shz_mat4x4_perspective()
screen
Section titled “screen”void screen(float width, float height) noexceptCalls: shz_mat4x4_screen()
skew_symmetric
Section titled “skew_symmetric”void skew_symmetric(float x, float y, float z) noexceptCalls: shz_mat4x4_skew_symmetric()
permute_wxyz
Section titled “permute_wxyz”void permute_wxyz() noexceptCalls: shz_mat4x4_permute_wxyz()
permute_yzwx
Section titled “permute_yzwx”void permute_yzwx() noexceptCalls: shz_mat4x4_permute_yzwx()
permute_wzyx
Section titled “permute_wzyx”void permute_wzyx() noexceptCalls: shz_mat4x4_permute_wzyx()
apply_self
Section titled “apply_self”void apply_self() noexceptCalls: shz_mat4x4_apply_self()
translate
Section titled “translate”void translate(float x, float y, float z) noexceptvoid translate(vec3 v) noexceptCalls: shz_mat4x4_translate()
void scale(float x, float y, float z) noexceptvoid scale(vec3 v) noexceptCalls: shz_mat4x4_scale()
rotate_x
Section titled “rotate_x”void rotate_x(float radians) noexceptvoid rotate_x(T radians) noexceptvoid rotate_x(uint16_t radians16) noexceptCalls: shz_mat4x4_rotate_x(), shz_mat4x4_rotate_x_u16()
rotate_y
Section titled “rotate_y”void rotate_y(float radians) noexceptvoid rotate_y(T radians) noexceptvoid rotate_y(uint16_t radians16) noexceptCalls: shz_mat4x4_rotate_y(), shz_mat4x4_rotate_y_u16()
rotate_z
Section titled “rotate_z”void rotate_z(float radians) noexceptvoid rotate_z(T radians) noexceptvoid rotate_z(uint16_t radians16) noexceptCalls: shz_mat4x4_rotate_z(), shz_mat4x4_rotate_z_u16()
rotate_xyz
Section titled “rotate_xyz”void rotate_xyz(float xRadians, float yRadians, float zRadians) noexceptvoid rotate_xyz(const vec3 &angles) noexceptvoid rotate_xyz(uint16_t xAngle, uint16_t yAngle, uint16_t zAngle) noexceptvoid rotate_xyz(X xRadians, Y yRadians, Z zRadians) noexceptCalls: shz_mat4x4_rotate_xyz(), shz_mat4x4_rotate_xyz_u16()
rotate_zyx
Section titled “rotate_zyx”void rotate_zyx(float zRadians, float yRadians, float xRadians) noexceptvoid rotate_zyx(const vec3 &angles) noexceptvoid rotate_zyx(uint16_t zAngle, uint16_t yAngle, uint16_t xAngle) noexceptvoid rotate_zyx(Z zRadians, Y yRadians, X xRadians) noexceptCalls: shz_mat4x4_rotate_zyx(), shz_mat4x4_rotate_zyx_u16()
rotate_zxy
Section titled “rotate_zxy”void rotate_zxy(float zRadians, float xRadians, float yRadians) noexceptvoid rotate_zxy(const vec3 &angles) noexceptvoid rotate_zxy(uint16_t zAngle, uint16_t xAngle, uint16_t yAngle) noexceptvoid rotate_zxy(Z zRadians, X xRadians, Y yRadians) noexceptCalls: shz_mat4x4_rotate_zxy(), shz_mat4x4_rotate_zxy_u16()
rotate_yxz
Section titled “rotate_yxz”void rotate_yxz(float yRadians, float xRadians, float zRadians) noexceptvoid rotate_yxz(const vec3 &angles) noexceptvoid rotate_yxz(uint16_t yAngle, uint16_t xAngle, uint16_t zAngle) noexceptvoid rotate_yxz(Y yRadians, X xRadians, Z zRadians) noexceptCalls: shz_mat4x4_rotate_yxz(), shz_mat4x4_rotate_yxz_u16()
rotate_x_yz
Section titled “rotate_x_yz”void rotate_x_yz(float y, float z) noexceptC++ wrapper around shz_mat4x4_rotate_x_yz().
Calls: shz_mat4x4_rotate_x_yz()
rotate_y_xz
Section titled “rotate_y_xz”void rotate_y_xz(float x, float z) noexceptC++ wrapper around shz_mat4x4_rotate_y_xz().
Calls: shz_mat4x4_rotate_y_xz()
rotate_z_xy
Section titled “rotate_z_xy”void rotate_z_xy(float x, float y) noexceptC++ wrapper around shz_mat4x4_rotate_z_xy().
Calls: shz_mat4x4_rotate_z_xy()
billboard_x
Section titled “billboard_x”void billboard_x(const vec3 &pos, const vec3 &eye) noexceptC++ wrapper around shz_mat4x4_billboard_x().
Calls: shz_mat4x4_billboard_x()
billboard_y
Section titled “billboard_y”void billboard_y(const vec3 &pos, const vec3 &eye) noexceptC++ wrapper around shz_mat4x4_billboard_y().
Calls: shz_mat4x4_billboard_y()
billboard_z
Section titled “billboard_z”void billboard_z(const vec3 &pos, const vec3 &eye) noexceptC++ wrapper around shz_mat4x4_billboard_z().
Calls: shz_mat4x4_billboard_z()
rotate
Section titled “rotate”void rotate(float radians, float xAxis, float yAxis, float zAxis) noexceptvoid rotate(float radians, vec3 axis) noexceptvoid rotate(const quat &q) noexceptvoid rotate(uint16_t radians16, float xAxis, float yAxis, float zAxis) noexceptvoid rotate(uint16_t radians16, const vec3 &axis) noexceptC++ wrapper around shz_mat4x4_rotate_u16().
Calls: shz_mat4x4_rotate(), shz_mat4x4_rotate_quat(), shz_mat4x4_rotate_u16()
rotate_dir
Section titled “rotate_dir”void rotate_dir(float radians, float x, float y, float z) noexceptvoid rotate_dir(float radians, vec3 dir) noexceptvoid rotate_dir(uint16_t radians16, float x, float y, float z) noexceptvoid rotate_dir(uint16_t radians16, const vec3 &dir) noexceptC++ wrapper around shz_mat4x4_rotate_dir_u16(). The axis must be prenormalized!
Calls: shz_mat4x4_rotate_dir(), shz_mat4x4_rotate_dir_u16()
translate_reverse
Section titled “translate_reverse”void translate_reverse(float x, float y, float z) noexceptvoid translate_reverse(const shz::vec3 &pos) noexceptPre-multiplies and accumulates the given matrix onto the 3D translation matrix with the given components.
Calls: shz_mat4x4_translate_reverse()
scale_reverse
Section titled “scale_reverse”void scale_reverse(float x, float y, float z) noexceptvoid scale_reverse(const shz::vec3 &size) noexceptPre-multiplies and accumulates the given matrix onto the 3D scaling matrix with the given components.
Calls: shz_mat4x4_scale_reverse()
transform
Section titled “transform”vec2 transform(const vec2 &in) const noexceptvec3 transform(const vec3 &in) const noexceptvec4 transform(const vec4 &in) const noexceptCalls: shz_mat4x4_transform_vec2(), shz_mat4x4_transform_vec3(), shz_mat4x4_transform_vec4()
transform_point
Section titled “transform_point”vec2 transform_point(const vec2 &pt) const noexceptvec3 transform_point(const vec3 &pt) const noexceptCalls: shz_mat4x4_transform_point2(), shz_mat4x4_transform_point3()
transform_transpose
Section titled “transform_transpose”vec2 transform_transpose(const vec2 &in) const noexceptvec3 transform_transpose(const vec3 &in) const noexceptvec4 transform_transpose(const vec4 &in) const noexceptCalls: shz_mat4x4_transform_vec2_transpose(), shz_mat4x4_transform_vec3_transpose(), shz_mat4x4_transform_vec4_transpose()
transform_point_transpose
Section titled “transform_point_transpose”vec2 transform_point_transpose(const vec2 &pt) const noexceptvec3 transform_point_transpose(const vec3 &pt) const noexceptCalls: shz_mat4x4_transform_point2_transpose(), shz_mat4x4_transform_point3_transpose()
to_quat
Section titled “to_quat”quat to_quat() const noexceptCalls: shz_mat4x4_to_quat()
determinant
Section titled “determinant”float determinant() const noexceptCalls: shz_mat4x4_determinant()
float trace() const noexceptCalls: shz_mat4x4_trace()
inverse
Section titled “inverse”void inverse(mat4x4 *out) const noexceptCalls: shz_mat4x4_inverse()
inverse_block_triangular
Section titled “inverse_block_triangular”void inverse_block_triangular(mat4x4 *out) const noexceptCalls: shz_mat4x4_inverse_block_triangular()
inverse_rigid
Section titled “inverse_rigid”void inverse_rigid(mat4x4 *out) const noexceptCalls: shz_mat4x4_inverse_rigid()
decompose
Section titled “decompose”void decompose(vec3 *translation, quat *rotation, vec3 *scale) const noexceptCalls: shz_mat4x4_decompose()
void blend(const shz_mat4x4_t &matrix, float weight) noexceptAdds and accumulates a scaled 4x4 matrix into the given matrix.
Calls: shz_mat4x4_blend()
void swap(shz_mat4x4_t &matA, shz_mat4x4_t &matB) noexceptinit_identity_safe
Section titled “init_identity_safe”void init_identity_safe() noexceptCalls: shz_mat4x4_init_identity()
apply_scale
Section titled “apply_scale”void apply_scale(float x, float y, float z) noexceptvoid apply_scale(const vec3 &v) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_scale(). Renamed to scale_3x3().
apply_translation
Section titled “apply_translation”void apply_translation(float x, float y, float z) noexceptvoid apply_translation(const vec3 &v) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_translation(). Renamed to add_translation().
apply_rotation_x
Section titled “apply_rotation_x”void apply_rotation_x(float angle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_x(). Renamed to rotate_x().
apply_rotation_y
Section titled “apply_rotation_y”void apply_rotation_y(float angle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_y(). Renamed to rotate_y().
apply_rotation_z
Section titled “apply_rotation_z”void apply_rotation_z(float angle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_z(). Renamed to rotate_z().
apply_rotation_xyz
Section titled “apply_rotation_xyz”void apply_rotation_xyz(float xAngle, float yAngle, float zAngle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_xyz(). Renamed to rotate_xyz().
apply_rotation_zyx
Section titled “apply_rotation_zyx”void apply_rotation_zyx(float zAngle, float yAngle, float xAngle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_zyx(). Renamed to rotate_zyx().
apply_rotation_zxy
Section titled “apply_rotation_zxy”void apply_rotation_zxy(float zAngle, float xAngle, float yAngle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_zxy(). Renamed to rotate_zxy().
apply_rotation_yxz
Section titled “apply_rotation_yxz”void apply_rotation_yxz(float yAngle, float xAngle, float zAngle) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation_yxz(). Renamed to rotate_yxz().
apply_rotation
Section titled “apply_rotation”void apply_rotation(float angle, float x, float y, float z) noexceptvoid apply_rotation(float angle, vec3 axis) noexceptvoid apply_rotation(const quat &q) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_rotation(). Renamed to rotate().
apply_lookat
Section titled “apply_lookat”void apply_lookat(vec3 pos, vec3 target, vec3 up) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_lookat(). Renamed to lookat().
apply_ortho
Section titled “apply_ortho”void apply_ortho(float left, float right, float bottom, float top, float znear, float zfar) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_ortho(). Renamed to ortho().
apply_frustum
Section titled “apply_frustum”void apply_frustum(float left, float right, float bottom, float top, float znear, float zfar) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_frustum(). Renamed to frustum().
apply_perspective
Section titled “apply_perspective”void apply_perspective(float fov, float aspect, float znear) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_perspective(). Renamed to perspective().
apply_screen
Section titled “apply_screen”void apply_screen(float width, float height) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_screen(). Renamed to screen().
apply_symmetric_skew
Section titled “apply_symmetric_skew”void apply_symmetric_skew(float x, float y, float z) noexceptDeprecated C++ wrapper around shz_mat4x4_apply_symmetric_skew(). Renamed to skew_symmetric().
apply_permutation_wxyz
Section titled “apply_permutation_wxyz”void apply_permutation_wxyz() noexceptDeprecated C++ wrapper around shz_mat4x4_apply_permutation_wxyz(). Renamed to permute_wxyz().
apply_permutation_yzwx
Section titled “apply_permutation_yzwx”void apply_permutation_yzwx() noexceptDeprecated C++ wrapper around shz_mat4x4_apply_permutation_yzwx(). Renamed to permute_yzwx().
mat4x4
Section titled “mat4x4”mat4x4() noexcept=defaultmat4x4(const mat4x4 &other) noexceptmat4x4(const shz_mat4x4_t &other) noexceptCalls: shz_mat4x4_copy()
operator=
Section titled “operator=”mat4x4 & operator=(const shz_mat4x4_t &other) noexceptCalls: shz_mat4x4_copy()
operator==
Section titled “operator==”bool operator==(const mat4x4 &lhs, const mat4x4 &rhs) noexceptOverloaded equality operator, for comparing vectors.