@@ -1217,39 +1217,39 @@ inline void XM_CALLCONV XMPlaneIntersectPlane
12171217inline XMVECTOR XM_CALLCONV XMPlaneTransform
12181218(
12191219 FXMVECTOR P,
1220- FXMMATRIX M
1220+ FXMMATRIX ITM
12211221) noexcept
12221222{
12231223 XMVECTOR W = XMVectorSplatW (P);
12241224 XMVECTOR Z = XMVectorSplatZ (P);
12251225 XMVECTOR Y = XMVectorSplatY (P);
12261226 XMVECTOR X = XMVectorSplatX (P);
12271227
1228- XMVECTOR Result = XMVectorMultiply (W, M .r [3 ]);
1229- Result = XMVectorMultiplyAdd (Z, M .r [2 ], Result);
1230- Result = XMVectorMultiplyAdd (Y, M .r [1 ], Result);
1231- Result = XMVectorMultiplyAdd (X, M .r [0 ], Result);
1228+ XMVECTOR Result = XMVectorMultiply (W, ITM .r [3 ]);
1229+ Result = XMVectorMultiplyAdd (Z, ITM .r [2 ], Result);
1230+ Result = XMVectorMultiplyAdd (Y, ITM .r [1 ], Result);
1231+ Result = XMVectorMultiplyAdd (X, ITM .r [0 ], Result);
12321232 return Result;
12331233}
12341234
12351235// ------------------------------------------------------------------------------
12361236_Use_decl_annotations_
12371237inline XMFLOAT4* XM_CALLCONV XMPlaneTransformStream
12381238(
1239- XMFLOAT4* pOutputStream,
1239+ XMFLOAT4* pOutputStream,
12401240 size_t OutputStride,
12411241 const XMFLOAT4* pInputStream,
12421242 size_t InputStride,
12431243 size_t PlaneCount,
1244- FXMMATRIX M
1244+ FXMMATRIX ITM
12451245) noexcept
12461246{
12471247 return XMVector4TransformStream (pOutputStream,
12481248 OutputStride,
12491249 pInputStream,
12501250 InputStride,
12511251 PlaneCount,
1252- M );
1252+ ITM );
12531253}
12541254
12551255// ------------------------------------------------------------------------------
0 commit comments