fixing transpose
This commit is contained in:
@@ -108,6 +108,10 @@ Mat4<T> Transpose(const Mat4<T>& mat) {
|
|||||||
result.w0 = mat.x3;
|
result.w0 = mat.x3;
|
||||||
result.w1 = mat.y3;
|
result.w1 = mat.y3;
|
||||||
result.w2 = mat.z3;
|
result.w2 = mat.z3;
|
||||||
|
result.x0 = mat.x0;
|
||||||
|
result.y1 = mat.y1;
|
||||||
|
result.z2 = mat.z2;
|
||||||
|
result.w3 = mat.w3;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user