shz::xmtrx
Static structure around the 4x4 XMTRX FP register back-bank.
This structure provides the C++ bindings to the XMTRX API as a series of static member functions wrapping the C API.
- Header:
#include <sh4zam/shz_xmtrx.hpp>(source)
Static functions
Section titled “Static functions”static float read(reg xf) noexceptC++ wrapper around shz_xmtrx_read().
Calls: shz_xmtrx_read(), shz_xmtrx_reg()
static void write(reg xf, float value) noexceptC++ wrapper around shz_xmtrx_write().
Calls: shz_xmtrx_write(), shz_xmtrx_reg()
read_row
Section titled “read_row”static vec4 read_row(unsigned int index) noexceptC++ wrapper around shz_xmtrx_read_row().
Calls: shz_xmtrx_read_row()
read_col
Section titled “read_col”static vec4 read_col(unsigned int index) noexceptC++ wrapper around shz_xmtrx_read_col().
Calls: shz_xmtrx_read_col()
write_row
Section titled “write_row”static void write_row(unsigned int index, const vec4 &vector) noexceptC++ wrapper around shz_xmtrx_write_row().
Calls: shz_xmtrx_write_row()
write_col
Section titled “write_col”static void write_col(unsigned int index, const vec4 &vector) noexceptC++ wrapper around shz_xmtrx_write_col().
Calls: shz_xmtrx_write_col()
swap_rows
Section titled “swap_rows”static void swap_rows(unsigned int index1, unsigned int index2) noexceptC++ wrapper around shz_xmtrx_swap_rows().
Calls: shz_xmtrx_swap_rows()
swap_cols
Section titled “swap_cols”static void swap_cols(unsigned int index1, unsigned int index2) noexceptC++ wrapper around shz_xmtrx_swap_cols().
Calls: shz_xmtrx_swap_cols()
static void load(const shz_mat4x4_t &mat4) noexceptstatic void load(const float cArray[16]) noexceptstatic void load(const std::array< float, 16 > &array) noexceptstatic void load(const shz_mat3x4_t &mat) noexceptstatic void load(const shz_mat2x2_t &mat) noexceptstatic void load(const shz_mat3x3_t &mat) noexceptC++ wrapper around shz_xmtrx_load_4x4().
Calls: shz_xmtrx_load_4x4(), shz_xmtrx_load_unaligned_4x4(), shz_xmtrx_load_3x4(), shz_xmtrx_load_2x2(), shz_xmtrx_load_3x3()
load_transpose
Section titled “load_transpose”static void load_transpose(const shz_mat4x4_t &mat4) noexceptstatic void load_transpose(const float cArray[16]) noexceptstatic void load_transpose(const std::array< float, 16 > &array) noexceptstatic void load_transpose(const shz_mat3x4_t &mat) noexceptstatic void load_transpose(const shz_mat3x3_t &mat) noexceptC++ wrapper around shz_xmtrx_load_transpose_4x4().
Calls: shz_xmtrx_load_transpose_4x4(), shz_xmtrx_load_transpose_unaligned_4x4(), shz_xmtrx_load_transpose_3x4(), shz_xmtrx_load_transpose_3x3()
load_wxyz
Section titled “load_wxyz”static void load_wxyz(const shz_mat4x4_t &mat4) noexceptC++ wrapper around shz_xmtrx_load_wxyz_4x4().
Calls: shz_xmtrx_load_wxyz_4x4()
load_cols
Section titled “load_cols”static void load_cols(const shz_vec4_t &c1, const shz_vec4_t &c2, const shz_vec4_t &c3, const shz_vec4_t &c4) noexceptstatic void load_cols(const shz_vec3_t &c1, const shz_vec3_t &c2, const shz_vec3_t &c3, const shz_vec3_t &c4) noexceptC++ wrapper around shz_xmtrx_load_cols_4x4().
Calls: shz_xmtrx_load_cols_4x4(), shz_xmtrx_load_cols_3x4()
load_rows
Section titled “load_rows”static void load_rows(const shz_vec4_t &r1, const shz_vec4_t &r2, const shz_vec4_t &r3, const shz_vec4_t &r4) noexceptstatic void load_rows(const shz_vec4_t &r1, const shz_vec4_t &r2, const shz_vec4_t &r3) noexceptC++ wrapper around shz_xmtrx_load_rows_4x4().
Calls: shz_xmtrx_load_rows_4x4(), shz_xmtrx_load_rows_3x4()
static void store(shz_mat4x4_t *mat) noexceptstatic void store(float cArray[16]) noexceptstatic void store(shz_mat3x4_t *mat) noexceptstatic void store(std::array< float, 16 > *array) noexceptstatic void store(shz_mat2x2_t *mat) noexceptstatic void store(shz_mat3x3_t *mat) noexceptC++ wrapper around shz_xmtrx_store_4x4().
Calls: shz_xmtrx_store_4x4(), shz_xmtrx_store_unaligned_4x4(), shz_xmtrx_store_3x4(), shz_xmtrx_store_2x2(), shz_xmtrx_store_3x3()
store_transpose
Section titled “store_transpose”static void store_transpose(shz_mat4x4_t *mat) noexceptstatic void store_transpose(float cArray[16]) noexceptstatic void store_transpose(std::array< float, 16 > *array) noexceptstatic void store_transpose(shz_mat3x4_t *mat) noexceptstatic void store_transpose(shz_mat3x3_t *mat) noexceptC++ wrapper around shz_xmtrx_store_transpose_4x4().
Calls: shz_xmtrx_store_transpose_4x4(), shz_xmtrx_store_transpose_unaligned_4x4(), shz_xmtrx_store_transpose_3x4(), shz_xmtrx_store_transpose_3x3()
init_identity
Section titled “init_identity”static void init_identity() noexceptC++ wrapper around shz_xmtrx_init_identity().
Calls: shz_xmtrx_init_identity()
init_identity_safe
Section titled “init_identity_safe”static void init_identity_safe() noexceptC++ wrapper around shz_xmtrx_init_identity_safe().
Calls: shz_xmtrx_init_identity()
init_zero
Section titled “init_zero”static void init_zero() noexceptC++ wrapper around shz_xmtrx_init_zero().
Calls: shz_xmtrx_init_zero()
init_one
Section titled “init_one”static void init_one() noexceptC++ wrapper around shz_xmtrx_init_one().
Calls: shz_xmtrx_init_one()
init_fill
Section titled “init_fill”static void init_fill(float value) noexceptC++ wrapper around shz_xmtrx_init_fill().
Calls: shz_xmtrx_init_fill()
init_translation
Section titled “init_translation”static void init_translation(float x, float y, float z) noexceptstatic void init_translation(const vec3 &v) noexceptC++ wrapper around shz_xmtrx_init_translation().
Calls: shz_xmtrx_init_translation()
init_scale
Section titled “init_scale”static void init_scale(float x, float y, float z) noexceptstatic void init_scale(const vec3 &v) noexceptC++ wrapper around shz_xmtrx_init_scale().
Calls: shz_xmtrx_init_scale()
init_rotation_x
Section titled “init_rotation_x”static void init_rotation_x(float x) noexceptC++ wrapper around shz_xmtrx_init_rotation_x().
Calls: shz_xmtrx_init_rotation_x()
init_rotation_y
Section titled “init_rotation_y”static void init_rotation_y(float y) noexceptC++ wrapper around shz_xmtrx_init_rotation_y().
Calls: shz_xmtrx_init_rotation_y()
init_rotation_z
Section titled “init_rotation_z”static void init_rotation_z(float z) noexceptC++ wrapper around shz_xmtrx_init_rotation_z().
Calls: shz_xmtrx_init_rotation_z()
init_rotation_xyz
Section titled “init_rotation_xyz”static void init_rotation_xyz(float x, float y, float z) noexceptC++ wrapper around shz_xmtrx_init_rotation_xyz().
Calls: shz_xmtrx_init_rotation_xyz()
init_rotation_zyx
Section titled “init_rotation_zyx”static void init_rotation_zyx(float z, float y, float x) noexceptC++ wrapper around shz_xmtrx_init_rotation_zyx().
Calls: shz_xmtrx_init_rotation_zyx()
init_rotation_zxy
Section titled “init_rotation_zxy”static void init_rotation_zxy(float z, float x, float y) noexceptC++ wrapper around shz_xmtrx_init_rotation_zxy().
Calls: shz_xmtrx_init_rotation_zxy()
init_rotation_yxz
Section titled “init_rotation_yxz”static void init_rotation_yxz(float y, float x, float z) noexceptC++ wrapper around shz_xmtrx_init_rotation_yxz().
Calls: shz_xmtrx_init_rotation_yxz()
init_rotation
Section titled “init_rotation”static void init_rotation(float angle, float x, float y, float z) noexceptstatic void init_rotation(float angle, const vec3 &axis) noexceptC++ wrapper around shz_xmtrx_init_rotation().
Calls: shz_xmtrx_init_rotation()
init_rotation_dir
Section titled “init_rotation_dir”static void init_rotation_dir(float angle, const vec3 &dir) noexceptC++ wrapper around shz_xmtrx_init_rotation_dir().
Calls: shz_xmtrx_init_rotation_dir()
init_diagonal
Section titled “init_diagonal”static void init_diagonal(float x, float y, float z, float w) noexceptstatic void init_diagonal(const vec4 &v) noexceptC++ wrapper around shz_xmtrx_init_diagonal().
Calls: shz_xmtrx_init_diagonal()
init_upper_triangular
Section titled “init_upper_triangular”static void init_upper_triangular(float col1, const vec2 &col2, const vec3 &col3, const vec4 &col4) noexceptC++ wrapper around shz_xmtrx_init_upper_triangular().
Calls: shz_xmtrx_init_upper_triangular()
init_lower_triangular
Section titled “init_lower_triangular”static void init_lower_triangular(const vec4 &col1, const vec3 &col2, const vec2 &col3, float col4) noexceptC++ wrapper around shz_xmtrx_init_lower_triangular().
Calls: shz_xmtrx_init_lower_triangular()
init_symmetric_skew
Section titled “init_symmetric_skew”static void init_symmetric_skew(float x, float y, float z) noexceptC++ wrapper around shz_xmtrx_init_symmetric_skew().
Calls: shz_xmtrx_init_symmetric_skew()
init_outer_product
Section titled “init_outer_product”static void init_outer_product(const vec4 &a, const vec4 &b) noexceptC++ wrapper around shz_xmtrx_init_outer_product().
Calls: shz_xmtrx_init_outer_product()
init_screen
Section titled “init_screen”static void init_screen(float width, float height) noexceptC++ wrapper around shz_xmtrx_init_screen().
Calls: shz_xmtrx_init_screen()
init_lookat
Section titled “init_lookat”static void init_lookat(const vec3 &eye, const vec3 ¢er, const vec3 &up) noexceptC++ wrapper around shz_xmtrx_init_lookat().
Calls: shz_xmtrx_init_lookat()
init_ortho
Section titled “init_ortho”static void init_ortho(float left, float right, float bottom, float top, float znear, float zfar) noexceptC++ wrapper around shz_xmtrx_init_ortho().
Calls: shz_xmtrx_init_ortho()
init_frustum
Section titled “init_frustum”static void init_frustum(float left, float right, float bottom, float top, float znear, float zfar) noexceptC++ wrapper around shz_xmtrx_init_frustum().
Calls: shz_xmtrx_init_frustum()
init_perspective
Section titled “init_perspective”static void init_perspective(float fov, float aspect, float znear) noexceptC++ wrapper around shz_xmtrx_init_perspective().
Calls: shz_xmtrx_init_perspective()
init_rotation_quat
Section titled “init_rotation_quat”static void init_rotation_quat(const quat &q) noexceptC++ wrapper around shz_xmtrx_init_rotation_quat().
Calls: shz_xmtrx_init_rotation_quat()
init_permutation_wxyz
Section titled “init_permutation_wxyz”static void init_permutation_wxyz() noexceptC++ wrapper around shz_xmtrx_init_permutation_wxyz().
Calls: shz_xmtrx_init_permutation_wxyz()
init_permutation_yzwx
Section titled “init_permutation_yzwx”static void init_permutation_yzwx() noexceptC++ wrapper around shz_xmtrx_init_permutation_yzwx().
Calls: shz_xmtrx_init_permutation_yzwx()
init_permutation_wzyx
Section titled “init_permutation_wzyx”static void init_permutation_wzyx() noexceptC++ wrapper around shz_xmtrx_init_permutation_wzyx().
Calls: shz_xmtrx_init_permutation_wzyx()
static void apply(const shz_mat4x4_t &mat4) noexceptstatic void apply(const float cArray[16]) noexceptstatic void apply(const std::array< float, 16 > &array) noexceptstatic void apply(const shz_mat3x4_t &mat) noexceptstatic void apply(const shz_mat3x3_t &mat) noexceptC++ wrapper around shz_xmtrx_apply_4x4().
Calls: shz_xmtrx_apply_4x4(), shz_xmtrx_apply_unaligned_4x4(), shz_xmtrx_apply_3x4(), shz_xmtrx_apply_3x3()
apply_transpose
Section titled “apply_transpose”static void apply_transpose(const shz_mat4x4_t &mat4) noexceptstatic void apply_transpose(const float cArray[16]) noexceptstatic void apply_transpose(const std::array< float, 16 > &array) noexceptstatic void apply_transpose(const shz_mat3x4_t &mat) noexceptstatic void apply_transpose(const shz_mat3x3_t &mat) noexceptC++ wrapper around shz_xmtrx_apply_transpose_4x4().
Calls: shz_xmtrx_apply_transpose_4x4(), shz_xmtrx_apply_transpose_unaligned_4x4(), shz_xmtrx_apply_transpose_3x4(), shz_xmtrx_apply_transpose_3x3()
apply_reverse
Section titled “apply_reverse”static void apply_reverse(const shz_mat4x4_t &mat4) noexceptstatic void apply_reverse(const float cArray[16]) noexceptstatic void apply_reverse(const std::array< float, 16 > &array) noexceptstatic void apply_reverse(const shz_mat3x4_t &mat) noexceptC++ wrapper around shz_xmtrx_apply_reverse_4x4().
Calls: shz_xmtrx_apply_reverse_4x4(), shz_xmtrx_apply_reverse_unaligned_4x4(), shz_xmtrx_apply_reverse_3x4()
apply_reverse_transpose
Section titled “apply_reverse_transpose”static void apply_reverse_transpose(const shz_mat4x4_t &mat4) noexceptstatic void apply_reverse_transpose(const float cArray[16]) noexceptstatic void apply_reverse_transpose(const std::array< float, 16 > &array) noexceptstatic void apply_reverse_transpose(const shz_mat3x4_t &mat) noexceptC++ wrapper around shz_xmtrx_apply_reverse_transpose_4x4().
Calls: shz_xmtrx_apply_reverse_transpose_4x4(), shz_xmtrx_apply_reverse_transpose_unaligned_4x4(), shz_xmtrx_apply_reverse_transpose_3x4()
apply_translation
Section titled “apply_translation”static void apply_translation(float x, float y, float z) noexceptstatic void apply_translation(const vec3 &v) noexceptC++ wrapper around shz_xmtrx_apply_translation().
Calls: shz_xmtrx_apply_translation()
apply_scale
Section titled “apply_scale”static void apply_scale(float x, float y, float z) noexceptstatic void apply_scale(const vec3 &v) noexceptC++ wrapper around shz_xmtrx_apply_scale().
Calls: shz_xmtrx_apply_scale()
apply_rotation_x
Section titled “apply_rotation_x”static void apply_rotation_x(float x) noexceptC++ wrapper around shz_xmtrx_apply_rotation_x().
Calls: shz_xmtrx_apply_rotation_x()
apply_rotation_y
Section titled “apply_rotation_y”static void apply_rotation_y(float y) noexceptC++ wrapper around shz_xmtrx_apply_rotation_y().
Calls: shz_xmtrx_apply_rotation_y()
apply_rotation_z
Section titled “apply_rotation_z”static void apply_rotation_z(float z) noexceptC++ wrapper around shz_xmtrx_apply_rotation_z().
Calls: shz_xmtrx_apply_rotation_z()
apply_rotation_xyz
Section titled “apply_rotation_xyz”static void apply_rotation_xyz(float x, float y, float z) noexceptC++ wrapper around shz_xmtrx_init_rotation_xyz().
Calls: shz_xmtrx_apply_rotation_xyz()
apply_rotation_zyx
Section titled “apply_rotation_zyx”static void apply_rotation_zyx(float z, float y, float x) noexceptC++ wrapper around shz_xmtrx_apply_rotation_zyx().
Calls: shz_xmtrx_apply_rotation_zyx()
apply_rotation_zxy
Section titled “apply_rotation_zxy”static void apply_rotation_zxy(float z, float x, float y) noexceptC++ wrapper around shz_xmtrx_apply_rotation_zxy().
Calls: shz_xmtrx_apply_rotation_zxy()
apply_rotation_yxz
Section titled “apply_rotation_yxz”static void apply_rotation_yxz(float y, float x, float z) noexceptC++ wrapper around shz_xmtrx_apply_rotation_yxz().
Calls: shz_xmtrx_apply_rotation_yxz()
apply_rotation
Section titled “apply_rotation”static void apply_rotation(float angle, float x, float y, float z) noexceptstatic void apply_rotation(float angle, const vec3 &axis) noexceptCalls: shz_xmtrx_apply_rotation()
apply_rotation_quat
Section titled “apply_rotation_quat”static void apply_rotation_quat(const quat &q) noexceptC++ wrapper around shz_xmtrx_apply_rotation_quat().
Calls: shz_xmtrx_apply_rotation_quat()
apply_lookat
Section titled “apply_lookat”static void apply_lookat(const vec3 &eye, const vec3 ¢er, const vec3 &up) noexceptC++ wrapper around shz_xmtrx_apply_lookat().
Calls: shz_xmtrx_apply_lookat()
apply_ortho
Section titled “apply_ortho”static void apply_ortho(float left, float right, float bottom, float top, float znear, float zfar) noexceptC++ wrapper around shz_xmtrx_apply_ortho().
Calls: shz_xmtrx_apply_ortho()
apply_frustum
Section titled “apply_frustum”static void apply_frustum(float left, float right, float bottom, float top, float znear, float zfar) noexceptC++ wrapper around shz_xmtrx_apply_frustum().
Calls: shz_xmtrx_apply_frustum()
apply_perspective
Section titled “apply_perspective”static void apply_perspective(float fov, float aspect, float znear) noexceptC++ wrapper around shz_xmtrx_apply_perspective().
Calls: shz_xmtrx_apply_perspective()
apply_symmetric_skew
Section titled “apply_symmetric_skew”static void apply_symmetric_skew(float x, float y, float z) noexceptC++ wrapper around shz_xmtrx_apply_symmetric_skew().
Calls: shz_xmtrx_apply_symmetric_skew()
apply_screen
Section titled “apply_screen”static void apply_screen(float width, float height) noexceptC++ wrapper around shz_xmtrx_apply_screen().
Calls: shz_xmtrx_apply_screen()
apply_permutation_wxyz
Section titled “apply_permutation_wxyz”static void apply_permutation_wxyz() noexceptC++ wrapper around shz_xmtrx_apply_permutation_wxyz().
Calls: shz_xmtrx_apply_permutation_wxyz()
apply_permutation_yzwx
Section titled “apply_permutation_yzwx”static void apply_permutation_yzwx() noexceptC++ wrapper around shz_xmtrx_apply_permutation_yzwx().
Calls: shz_xmtrx_apply_permutation_yzwx()
apply_permutation_wzyx
Section titled “apply_permutation_wzyx”static void apply_permutation_wzyx() noexceptC++ wrapper around shz_xmtrx_apply_permutation_wzyx().
Calls: shz_xmtrx_apply_permutation_wzyx()
apply_self
Section titled “apply_self”static void apply_self() noexceptC++ wrapper around shz_xmtrx_apply_self().
Calls: shz_xmtrx_apply_self()
translate
Section titled “translate”static void translate(float x, float y, float z) noexceptstatic void translate(vec3 v) noexceptC++ wrapper around shz_xmtrx_translate().
Calls: shz_xmtrx_translate()
static void scale(float x, float y, float z) noexceptstatic void scale(vec3 v) noexceptC++ wrapper around shz_xmtrx_scale().
Calls: shz_xmtrx_scale()
rotate_x
Section titled “rotate_x”static void rotate_x(float radians) noexceptC++ wrapper around shz_xmtrx_rotate_x().
Calls: shz_xmtrx_rotate_x()
rotate_y
Section titled “rotate_y”static void rotate_y(float radians) noexceptC++ wrapper around shz_xmtrx_rotate_x().
Calls: shz_xmtrx_rotate_y()
rotate_z
Section titled “rotate_z”static void rotate_z(float radians) noexceptC++ wrapper around shz_xmtrx_rotate_x().
Calls: shz_xmtrx_rotate_z()
rotate_xyz
Section titled “rotate_xyz”static void rotate_xyz(float x, float y, float z) noexceptC++ wrapper around shz_xmtrx_rotate_xyz().
Calls: shz_xmtrx_rotate_xyz()
rotate_zyx
Section titled “rotate_zyx”static void rotate_zyx(float z, float y, float x) noexceptC++ wrapper around shz_xmtrx_rotate_zyx().
Calls: shz_xmtrx_rotate_zyx()
rotate_zxy
Section titled “rotate_zxy”static void rotate_zxy(float z, float x, float y) noexceptC++ wrapper around shz_xmtrx_rotate_zxy().
Calls: shz_xmtrx_rotate_zxy()
rotate_yxz
Section titled “rotate_yxz”static void rotate_yxz(float y, float x, float z) noexceptC++ wrapper around shz_xmtrx_rotate_yxz().
Calls: shz_xmtrx_rotate_yxz()
rotate
Section titled “rotate”static void rotate(float radians, float x, float y, float z) noexceptstatic void rotate(float radians, const vec3 &axis) noexceptC++ wrapper around shz_xmtrx_rotate().
Calls: shz_xmtrx_rotate()
translate_reverse
Section titled “translate_reverse”static void translate_reverse(float x, float y, float z) noexceptstatic void translate_reverse(const shz::vec3 &pos) noexceptPre-multiplies and accumulates XMTRX onto the 3D translation matrix with the given components.
Calls: shz_xmtrx_translate_reverse()
scale_reverse
Section titled “scale_reverse”static void scale_reverse(float x, float y, float z) noexceptstatic void scale_reverse(const shz::vec3 &size) noexceptPre-multiplies and accumulatse XMTRX onto the 3D scaling matrix with the given components.
Calls: shz_xmtrx_scale_reverse()
load_apply
Section titled “load_apply”static void load_apply(const shz_mat4x4_t &mat1, const shz_mat4x4_t &mat2) noexceptstatic void load_apply(const float matrix1[16], const float matrix2[16]) noexceptstatic void load_apply(const shz_mat3x4_t &mat1, const shz_mat3x4_t &mat2) noexceptC++ wrapper around shz_xmtrx_load_apply_4x4().
Calls: shz_xmtrx_load_apply_4x4(), shz_xmtrx_load_apply_unaligned_4x4(), shz_xmtrx_load_apply_3x4()
apply_store
Section titled “apply_store”static void apply_store(shz_mat4x4_t *out, const shz_mat4x4_t &in) noexceptstatic void apply_store(float out[16], const float in[16]) noexceptC++ wrapper around shz_xmtrx_apply_store_4x4().
Calls: shz_xmtrx_apply_store_4x4(), shz_xmtrx_apply_store_unaligned_4x4()
load_apply_store
Section titled “load_apply_store”static void load_apply_store(shz_mat4x4_t *dst, const shz_mat4x4_t &mat1, const shz_mat4x4_t &mat2) noexceptstatic void load_apply_store(float out[16], const float matrix1[16], const float matrix2[16]) noexceptstatic void load_apply_store(shz_mat3x4_t *dst, const shz_mat3x4_t &mat1, const shz_mat3x4_t &mat2) noexceptstatic void load_apply_store(shz_mat3x3_t *dst, const shz_mat3x3_t &mat1, const shz_mat3x3_t &mat2) noexceptC++ wrapper around shz_xmtrx_load_apply_store_4x4().
Calls: shz_xmtrx_load_apply_store_4x4(), shz_xmtrx_load_apply_store_unaligned_4x4(), shz_xmtrx_load_apply_store_3x4(), shz_xmtrx_load_apply_store_3x3()
transform
Section titled “transform”static vec4 transform(const vec4 &in) noexceptstatic vec3 transform(const vec3 &in) noexceptstatic vec2 transform(const vec2 &in) noexceptC++ wrapper around shz_xmtrx_transform_vec4().
Calls: shz_xmtrx_transform_vec4(), shz_xmtrx_transform_vec3(), shz_xmtrx_transform_vec2()
transform_point
Section titled “transform_point”static vec3 transform_point(const vec3 &pt) noexceptstatic vec2 transform_point(const vec2 &pt) noexceptC++ wrapper around shz_xmtrx_transform_point3().
Calls: shz_xmtrx_transform_point3(), shz_xmtrx_transform_point2()
set_translation
Section titled “set_translation”static void set_translation(float x, float y, float z) noexceptstatic void set_translation(const vec3 &v) noexceptC++ wrapper around shz_xmtrx_set_translation().
Calls: shz_xmtrx_set_translation()
set_scale
Section titled “set_scale”static void set_scale(float x, float y, float z) noexceptstatic void set_scale(const shz::vec3 &size) noexceptSets only the inner 3x3 submatrix to be a 3D scale matrix with the given components.
Calls: shz_xmtrx_set_scale()
get_translation
Section titled “get_translation”static vec3 get_translation() noexceptC++ wrapper around shz_xmtrx_set_translation().
Calls: shz_xmtrx_get_translation()
get_scale
Section titled “get_scale”static vec3 get_scale() noexceptReturns the scaling components from the inner 3x3 matrix of XMTRX, as a 3D vector.
Calls: shz_xmtrx_get_scale()
static void add(const shz_mat4x4_t &mat) noexceptC++ wrapper around shz_xmtrx_add_4x4().
Calls: shz_xmtrx_add_4x4()
static void sub(const shz_mat4x4_t &mat) noexceptC++ wrapper around shz_xmtrx_sub_4x4().
Calls: shz_xmtrx_sub_4x4()
transpose
Section titled “transpose”static void transpose() noexceptC++ wrapper around shz_xmtrx_transpose().
Calls: shz_xmtrx_transpose()
negate
Section titled “negate”static void negate() noexceptC++ wrapper around shz_xmtrx_negate().
Calls: shz_xmtrx_negate()
static void abs() noexceptC++ wrapper around shz_xmtrx_abs().
Calls: shz_xmtrx_abs()
to_quat
Section titled “to_quat”static quat to_quat() noexceptC++ wrapper around shz_xmtrx_to_quat().
Calls: shz_xmtrx_to_quat()
determinant
Section titled “determinant”static float determinant() noexceptC++ wrapper around shz_xmtrx_determinant().
Calls: shz_xmtrx_determinant()
invert
Section titled “invert”static void invert() noexceptC++ wrapper around shz_xmtrx_invert().
Calls: shz_xmtrx_invert()
static void blend(const shz_mat4x4_t &matrix, float weight) noexceptstatic void blend(const shz_mat3x4_t &matrix, float weight) noexceptAdds and accumulates a scaled 4x4 matrix onto XMTRX.
Calls: shz_xmtrx_blend_4x4(), shz_xmtrx_blend_3x4()
Members
Section titled “Members”FP back-bank registers comprising XMTRX.
using reg_t = regNon-POSIX style reg_t alias.