Skip to content

shz_xmtrx_blend

Markdown
SHZ_INLINE void shz_xmtrx_blend(const shz_mat4x4_t* matrix, float weight) SHZ_NOEXCEPT;

Deprecated way to add and accumulate a scaled 4x4 matrix onto XMTRX.

Deprecated: This routine has been renamed to shz_xmtrx_blend_4x4(), as support is being added to blend matrices of different dimensions onto XMTRX.

NameTypeDescription
matrixconst shz_mat4x4_t *
weightfloat

Nothing (void).

  • shz_mat4x4_t and shz_mat2x2_t arguments must be 8-byte aligned. Unaligned data goes through the float[16] parameters of the _unaligned routines.
  • C++ equivalent: none (call the C function from C++)
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_xmtrx.h:865
  • Module: XMTRX, section "Miscellaneous"

shz_xmtrx_blend_4x4