diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-08-10 04:47:13 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-08-10 04:50:11 (GMT) |
commit | bb97f90ef340d668f3dc04026aa034b33a997453 (patch) | |
tree | 675bb9c290a7dff576418667b57220eb3d2d0691 /demos/mainwindow | |
parent | e54e4f19ec2fd06f9d383b2cd83a565479e3cced (diff) | |
download | Qt-bb97f90ef340d668f3dc04026aa034b33a997453.zip Qt-bb97f90ef340d668f3dc04026aa034b33a997453.tar.gz Qt-bb97f90ef340d668f3dc04026aa034b33a997453.tar.bz2 |
Set default QGraphicsTransform3D axis to (0, 0, 1)
The docs said that the default axis was (0, 0, 1), but the code
and unit tests were using (0, 0, 0). Modify the code to match the
docs because (0, 0, 0) is not very useful. Also optimize the
calculation of sin/cos values for 90, 180, and 270 degrees.
Reviewed-by: Aaron Kennedy
Diffstat (limited to 'demos/mainwindow')
0 files changed, 0 insertions, 0 deletions