Skip to content

Commit 5d3ed80

Browse files
committed
Fix matrix multiplication ordering
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent c11a6f2 commit 5d3ed80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

XenosRecomp/shader_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ float rcp(T a)
178178
template<typename T>
179179
float4x4 mul(T a, T b)
180180
{
181-
return a * b;
181+
return b * a;
182182
}
183183
#endif
184184

0 commit comments

Comments
 (0)