summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qmatrix4x4
Commit message (Collapse)AuthorAgeFilesLines
* Modify QMatrix4x4 and QQuaternion to use qreal internallyRhys Weatherley2009-09-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Some concerns were expressed about the float precision of QMatrix4x4, which this change addresses by using qreal instead. The QVector2D/3D/4D classes still use float internally, so that they can be used directly in large arrays of vertex values to be uploaded to an OpenGL server. QQuaternion is a client-side class, and it should produce rotations that are consistent with QMatrix4x4. So its precision was changed too. A consequence of this change is that the following no longer works in a portable fashion: QMatrix4x4 mat; ... glLoadMatrixf(mat.constData()); The caller must now repack the argument to convert from qreal to GLfloat. Reviewed-by: Michael Goddard Reviewed-by: Andreas
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Benchmarks comparing QMatrix4x4 with QTransformRhys Weatherley2009-08-201-0/+411
| | | | Reviewed-by: trustme
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Add some performance tests for QMatrix4x4Rhys Weatherley2009-06-022-0/+267