Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc: Document that coordinates are dropped. | Volker Hilsheimer | 2009-07-25 | 2 | -4/+8 |
| | |||||
* | Add the math3d types to QVariant | Rhys Weatherley | 2009-07-23 | 10 | -24/+247 |
| | | | | Reviewed-by: Sarah Smith | ||||
* | Directly copy QGenericMatrix members instead of using qMemCopy() | Rhys Weatherley | 2009-07-09 | 1 | -1/+3 |
| | | | | | | | | Using qMemCopy limits QGenericMatrix to plain old types like float and double. Copying the values normally will allow copy constructors to work on non plain types. Reviewed-by: trustme | ||||
* | Remove some left-over mentions of fixed-point in math3d | Rhys Weatherley | 2009-07-09 | 5 | -20/+3 |
| | | | | Reviewed-by: trustme | ||||
* | Define M_PI in qmath.h if not defined by math.h (as is the case on Windows), ↵ | Volker Hilsheimer | 2009-07-08 | 2 | -8/+0 |
| | | | | and remove duplicate defines elsewhere. | ||||
* | Update license headers in files that are new in 4.6. | Jason McDonald | 2009-06-17 | 12 | -24/+24 |
| | | | | Reviewed-by: Trust Me | ||||
* | doc: Fixed several qdoc errors. | Martin Smith | 2009-06-16 | 1 | -1/+1 |
| | |||||
* | doc: Fixed several qdoc warnings. | Martin Smith | 2009-06-15 | 1 | -1/+1 |
| | |||||
* | Fix some incorrect license headers. | Jason McDonald | 2009-06-10 | 12 | -12/+12 |
| | | | | | | | The MODULE placeholder shouldn't be used anymore, and neither should the old Trolltech license header. Reviewed-by: Trust Me | ||||
* | Fix signature for QGenericMatrix::fill() | Rhys Weatherley | 2009-06-02 | 2 | -3/+3 |
| | | | | The signature was using qreal, when it should have used T. | ||||
* | Optimize QMatrix4x4::map() for QVector3D/QPoint/QPointF | Rhys Weatherley | 2009-06-02 | 1 | -45/+90 |
| | | | | | Use the matrix "flagBits" to short-cut transformations when the matrix type is identity/translate/scale. | ||||
* | QMatrix4x4::scale(qreal,qreal) and QMatrix4x4::translate(qreal,qreal) methods | Aaron Kennedy | 2009-06-02 | 2 | -2/+81 |
| | |||||
* | Optimize QMatrix4x4::mapRect() for translation and scale operations | Rhys Weatherley | 2009-06-02 | 2 | -30/+65 |
| | |||||
* | Fixed typos 'indended' -> 'intended' | Thorbjørn Lindeijer | 2009-04-21 | 2 | -6/+6 |
| | |||||
* | Optimize vector normalize for vectors of length 1 | Rhys Weatherley | 2009-04-15 | 5 | -39/+63 |
| | | | | | | If the square of the length is very close to 1, then avoid the qSqrt(). Reviewed-by: trustme | ||||
* | Add the QQuaternion::nlerp() function as a counterpart to slerp() | Rhys Weatherley | 2009-04-15 | 2 | -0/+41 |
| | | | | | | | | nlerp() implements "normalized linear interpolation", which is faster than slerp() and gives approximate results that are good enough for some applications. Reviewed-by: trustme | ||||
* | Rename QQuaternion::interpolate() to slerp() | Rhys Weatherley | 2009-04-15 | 2 | -2/+2 |
| | | | | | | slerp() is the more common-place name in the 3D community. Reviewed-by: trustme | ||||
* | Remove the int constructors from the vector classes | Rhys Weatherley | 2009-04-15 | 8 | -37/+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 | ||||
* | Rename qIsFuzzyNull to qFuzzyIsNull | Bjoern Erik Nilsen | 2009-04-08 | 1 | -1/+1 |
| | | | | | | | | | | The function was added in fde7f3d03782c801901f511131458d6fcb1021a5 and we believe qFuzzyIsNull is a better naming and more in line with qFuzzyCompare. Reviewed-by: Lars Knoll Reviewed-by: nrc Reviewed-by: Samuel | ||||
* | Use qIsFuzzyNull rather than the more expensive qFuzzyCompare | Bjoern Erik Nilsen | 2009-04-08 | 1 | -1/+1 |
| | | | | | | | See also fde7f3d03782c801901f511131458d6fcb1021a5 Reviewed-by: Olivier Reviewed-by: Samuel | ||||
* | Remove fixed-point support from math3d | Rhys Weatherley | 2009-04-08 | 17 | -2084/+380 |
| | | | | | | | | | 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 Macieira | 2009-03-31 | 17 | -17/+527 |
| | | | | | | These sources had the old headers. Update to the new LGPL ones. Reviewed-by: TrustMe | ||||
* | Long live Qt! | Lars Knoll | 2009-03-23 | 18 | -0/+7700 |