diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-03-16 01:54:35 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-03-16 23:00:10 +0000 |
commit | 424d707537f229340dab1ecc7d54db64cff4255f (patch) | |
tree | 923f36d2b8724b75a581c0dda9a45802c26c2d6a /examples | |
parent | 8139a719293d12ca492ccb2b376da818856c189c (diff) |
[Assimp scene loader] Fix loaded camera orientation
There were several bugs in a single place:
- aiCamera::GetCameraMatrix() produces a viewing matrix flipped around Y
- additional QMatrix4x4::lookAt() transformation has been applied
- and moreover, QMatrix4x4::lookAt(.., .., QVector3D(0, 0, 0)) produces
an invalid matrix at all.
Change-Id: Ie2a80810d76df0f0c39c3ae53adfdf52b06aafc1
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions