diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-09-30 14:34:00 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-10-10 05:41:44 +0000 |
commit | 7fbbcaf280618c03da22cebac690b088d2b3ba03 (patch) | |
tree | 9f773fee553d9dba52d8b75b19a7f26f8083cd12 /examples/qt3d/audio-visualizer-qml/images/demotitle.png | |
parent | 387eebab1ea3b10d777b1c92d04804afb215c52c (diff) |
Add unit test for QTorusGeometry
Also fix up some more problems with the torus. We were drawing some
triangles more than once due to problems in the indexing. Fixed this
by factoring out the calculations of number of vertices and
triangles and takign care about needing more vertices to handle the
texture coordinate wrapping at the seams but not more indices.
Also renamed some members in the functors to be more consistent.
Now the torus geometry should be perfect.
Change-Id: I1198469531a5fd5e4ec8b86d47c9e66850fe50c7
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'examples/qt3d/audio-visualizer-qml/images/demotitle.png')
0 files changed, 0 insertions, 0 deletions