pub fn XMMatrixLookToLH(
EyePosition: FXMVECTOR,
EyeDirection: FXMVECTOR,
UpDirection: FXMVECTOR,
) -> XMMATRIXExpand description
Builds a view matrix for a left-handed coordinate system using a camera position, an up direction, and a camera direction.
§Parameters
EyePosition Position of the camera.
EyeDirection Direction of the camera.
UpDirection Up direction of the camera, typically < 0.0, 1.0, 0.0 >.
§Return value
Returns a view matrix that transforms a point from world space into view space.
§Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMMatrixLookToLH