Function directx_math::XMMatrixTranslationFromVector [−][src]
pub fn XMMatrixTranslationFromVector(Offset: XMVECTOR) -> XMMATRIX
Builds a translation matrix from a vector.
Parameters
Offset
3D vector describing the translations along the x-axis
, y-axis
, and z-axis
.
Return value
Returns the translation matrix.