mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix arcball navigation by updating the basis matrix.
This commit is contained in:
committed by
Baldur Karlsson
parent
3b00cf247e
commit
43462ea3c9
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user