diff options
author | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2014-10-20 15:51:49 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2014-10-21 09:10:44 +0300 |
commit | 0cc8662c1b245c50910f44153fdb3124dd22abd8 (patch) | |
tree | aa7732ddb3ea92bb5f8c5f4c9710de9eca81c5f0 /tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp | |
parent | ad4c012bcb1014bb82e38d26cab6374b0bda8136 (diff) |
Fix shadows when viewing directly from above.
Fudge the camera y-angle so that it's never looking
directly from above or below. The actual problem is that eye vector
is paraller to up vector if viewing directly from above, which results
in invalid view matrix.
Task-number: QTRD-2789
Change-Id: Ia79b8bb4b8317c6aaf6ac4c70a6bb70c24b5309e
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'tests/auto/cpptest/q3dbars-modelproxy/tst_proxy.cpp')
0 files changed, 0 insertions, 0 deletions