Function directx_math::XMMatrixSet[][src]

pub fn XMMatrixSet(
    m00: f32,
    m01: f32,
    m02: f32,
    m03: f32,
    m10: f32,
    m11: f32,
    m12: f32,
    m13: f32,
    m20: f32,
    m21: f32,
    m22: f32,
    m23: f32,
    m30: f32,
    m31: f32,
    m32: f32,
    m33: f32
) -> XMMATRIX

Creates a matrix with float values.

Parameters

m00 Value to assign to the (0,0) element.

m01 Value to assign to the (0,1) element.

m02 Value to assign to the (0,2) element.

m03 Value to assign to the (0,3) element.

m10 Value to assign to the (1,0) element.

m11 Value to assign to the (1,1) element.

m12 Value to assign to the (1,2) element.

m13 Value to assign to the (1,3) element.

m20 Value to assign to the (2,0) element.

m21 Value to assign to the (2,1) element.

m22 Value to assign to the (2,2) element.

m23 Value to assign to the (2,3) element.

m30 Value to assign to the (3,0) element.

m31 Value to assign to the (3,1) element.

m32 Value to assign to the (3,2) element.

m33 Value to assign to the (3,3) element.

Return value

Returns the XMMATRIX with the specified elements.

Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMMatrixSet