summaryrefslogtreecommitdiffstats
path: root/demos/mainwindow
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-08-10 04:47:13 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-08-10 04:50:11 (GMT)
commitbb97f90ef340d668f3dc04026aa034b33a997453 (patch)
tree675bb9c290a7dff576418667b57220eb3d2d0691 /demos/mainwindow
parente54e4f19ec2fd06f9d383b2cd83a565479e3cced (diff)
downloadQt-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