Function directx_math::XMMatrixScalingFromVector[][src]

pub fn XMMatrixScalingFromVector(Scale: XMVECTOR) -> XMMATRIX

Builds a matrix that scales along the x-axis, y-axis, and z-axis.

Parameters

Scale 3D vector describing the scaling along the x-axis, y-axis, and z-axis.

Return value

Returns the scaling matrix.

Reference

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