Function citro3d_sys::Mtx_Diagonal

source ·
pub unsafe extern "C" fn Mtx_Diagonal(
    out: *mut C3D_Mtx,
    x: f32,
    y: f32,
    z: f32,
    w: f32
)
Expand description

Creates a matrix with the diagonal using the given parameters.

§Arguments

  • out (direction out) - Output matrix.
  • x (direction in) - The X component.
  • y (direction in) - The Y component.
  • z (direction in) - The Z component.
  • w (direction in) - The W component.