camera refactor

This commit is contained in:
Sandro Sobczyński committed 2020-11-05 14:53:42 +01:00
1 parent eba254f13b
commit b11df0262e
4 files changed
+34 -13

No files matched your search

+1 -2
View File
@@ -39,8 +39,7 @@ void Camera::update(Pad &t_pad, Mesh &t_mesh)
{
rotate(t_pad);
followBy(t_mesh);
updatePlanes(t_mesh.position);
worldView.lookAt(up, position, t_mesh.position);
lookAt(t_mesh.position);
}
/** Set camera rotation by pad right joy and update unit circle