fixes
This commit is contained in:
@@ -21,10 +21,9 @@ void Camera::updateVectors(){
|
||||
}
|
||||
|
||||
void Camera::rotate(float x, float y, float z){
|
||||
rotation = glm::rotate(rotation, z, glm::vec3(0,0,1));
|
||||
rotation = glm::rotate(rotation, y, glm::vec3(0,1,0));
|
||||
rotation = glm::rotate(rotation, x, glm::vec3(1,0,0));
|
||||
|
||||
rotation = glm::rotate(rotation, z, glm::vec3(0,0,1));
|
||||
updateVectors();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user