Skip to content

Commit 46938a4

Browse files
committed
Fix matrix multiplication ordering
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
1 parent 253c595 commit 46938a4

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
@@ -180,7 +180,7 @@ float rcp(T a)
180180
template<typename T>
181181
float4x4 mul(T a, T b)
182182
{
183-
return a * b;
183+
return b * a;
184184
}
185185
#endif
186186

0 commit comments

Comments
 (0)