[−][src]Function directx_math::XMVector3Transform
pub fn XMVector3Transform(V: FXMVECTOR, M: FXMMATRIX) -> FXMVECTOR
Transforms a 3D vector by a matrix.
Parameters
V
3D vector.
M
Transformation matrix.
Return value
Returns the transformed vector.
Remarks
XMVector3Transform
ignores the w
component of the input vector, and uses
a value of 1
instead. The w
component of the returned vector may be
non-homogeneous (!= 1.0
).
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector3Transform