[−][src]Function directx_math::XMMatrixAffineTransformation2D
pub fn XMMatrixAffineTransformation2D(
Scaling: FXMVECTOR,
RotationOrigin: FXMVECTOR,
Rotation: f32,
Translation: GXMVECTOR
) -> XMMATRIX
Builds a 2D affine transformation matrix in the xy plane.
Parameters
Scaling
2D vector of scaling factors for the x-coordinate and y-coordinate.
RotationOrigin
2D vector describing the center of rotation.
Rotation
Radian angle of rotation.
Translation
2D vector translation offsets.
Return value
Returns the 2D affine transformation matrix.