Skip to content

Commit 0fc79cd

Browse files
committed
Fixed some misleading comments
1 parent fc2763a commit 0fc79cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Inc/DirectXMathMatrix.inl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,10 +2515,10 @@ inline XMMATRIX XM_CALLCONV XMMatrixPerspectiveFovLH
25152515
XMVECTOR vTemp = _mm_setzero_ps();
25162516
// Copy x only
25172517
vTemp = _mm_move_ss(vTemp, vValues);
2518-
// CosFov / SinFov,0,0,0
2518+
// Height / AspectRatio,0,0,0
25192519
XMMATRIX M;
25202520
M.r[0] = vTemp;
2521-
// 0,Height / AspectRatio,0,0
2521+
// 0,Height,0,0
25222522
vTemp = vValues;
25232523
vTemp = _mm_and_ps(vTemp, g_XMMaskY);
25242524
M.r[1] = vTemp;
@@ -2615,10 +2615,10 @@ inline XMMATRIX XM_CALLCONV XMMatrixPerspectiveFovRH
26152615
XMVECTOR vTemp = _mm_setzero_ps();
26162616
// Copy x only
26172617
vTemp = _mm_move_ss(vTemp, vValues);
2618-
// CosFov / SinFov,0,0,0
2618+
// Height / AspectRatio,0,0,0
26192619
XMMATRIX M;
26202620
M.r[0] = vTemp;
2621-
// 0,Height / AspectRatio,0,0
2621+
// 0,Height,0,0
26222622
vTemp = vValues;
26232623
vTemp = _mm_and_ps(vTemp, g_XMMaskY);
26242624
M.r[1] = vTemp;

0 commit comments

Comments
 (0)