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.
I know that on a mobile system qreal is a float, but on desktop systems qreal is a double. I would like to use these data structures but the conversion from double to float only to be accessed as a double again seems to be overly expensive. In Qt5, would it be possible to have the function parameters take a floats instead of a qreals? Thanks, Keith
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
