summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qvector2d.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the math3d types to QVariantRhys Weatherley2009-07-231-1/+41
| | | | Reviewed-by: Sarah Smith
* Remove some left-over mentions of fixed-point in math3dRhys Weatherley2009-07-091-3/+1
| | | | Reviewed-by: trustme
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Fix some incorrect license headers.Jason McDonald2009-06-101-1/+1
| | | | | | | The MODULE placeholder shouldn't be used anymore, and neither should the old Trolltech license header. Reviewed-by: Trust Me
* Optimize vector normalize for vectors of length 1Rhys Weatherley2009-04-151-9/+15
| | | | | | If the square of the length is very close to 1, then avoid the qSqrt(). Reviewed-by: trustme
* Remove the int constructors from the vector classesRhys Weatherley2009-04-151-6/+0
| | | | | | | | The int constructors existed to make fixed-point conversions faster in certain circumstances. With the removal of fixed-point support, they are no longer required. Reviewed-by: trustme
* Remove fixed-point support from math3dRhys Weatherley2009-04-081-4/+5
| | | | | | | | | The main use case for fixed-point support is to build large arrays of vertices. This can be handled using qvertextype or something similar at higher levels. So it isn't worth risking numerical instability in the core classes. Reviewed-by: trustme
* Update the license on this code to match the rest.Thiago Macieira2009-03-311-1/+31
| | | | | | These sources had the old headers. Update to the new LGPL ones. Reviewed-by: TrustMe
* Long live Qt!Lars Knoll2009-03-231-0/+386