On Fri, Aug 19, 2011 at 8:35 PM, Keith Gardner <[email protected]> wrote: > I noticed that QVector2D, QVector3D, QVector4D, etc… use floats as the > storage type and I recognize that it was a performance decision to do it > this way. I am just wondering why the getters and setters for the > structures use qreal as the parameter type instead of floats.
And OTOH QMatrix4x4 uses qreal internally, leading to conversions to/from OpenGL's GLfloat when qreal == double. Cf. http://qt.gitorious.org/qt/qt/blobs/master/src/opengl/qglshaderprogram.cpp#line2188 Do you think it's worth to port it to float as well? -- Giuseppe D'Angelo _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
