Fix arcball navigation by updating the basis matrix.

This commit is contained in:
Nicola Cerone
2022-07-19 09:13:54 -04:00
committed by Baldur Karlsson
parent 3b00cf247e
commit 43462ea3c9
+1
View File
@@ -102,6 +102,7 @@ void Camera::Update()
Matrix4f d = Matrix4f::Translation(Vec3f(0.0f, 0.0f, dist));
mat = d.Mul(r.Mul(p));
basis = mat.Transpose();
}
}