Browse Source

small camera fix

undefined
Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> 11 years ago
parent
commit
725919089e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/camera.cpp

+ 1
- 1
src/camera.cpp View File

@@ -73,7 +73,7 @@ void Camera::SetView(vec3 eye, vec3 target, vec3 up)

void Camera::SetView(vec3 pos, vec3 rot)
{
SetView(pos, quat::fromeuler_zyx(rot.zyx));
SetView(pos, quat::fromeuler_zyx(rot));
}

void Camera::SetView(vec3 pos, quat rot)


Loading…
Cancel
Save