qt6-bb10/examples/widgets/graphicsview/boxes
Edward Welbourne 3a9e135d55 Exploit QVector3D::length() instead of duplicating its work
Calling the class-method dotProduct(x, x) in order to then take its
square root is a clumsy way to obfuscate x.length() - and lacks its
efforts (clumsy though they are) to limit rounding issues.

Change-Id: I1dc1f38764651bc70c0620e286cb5625f505ddbf
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-07-07 18:09:08 +00:00
..
3rdparty
basic.fsh
basic.vsh
boxes.pro
boxes.qrc
cubemap_negx.jpg
cubemap_negy.jpg
cubemap_negz.jpg
cubemap_posx.jpg
cubemap_posy.jpg
cubemap_posz.jpg
dotted.fsh
fresnel.fsh
glass.fsh
glbuffers.cpp
glbuffers.h
glextensions.cpp
glextensions.h
gltrianglemesh.h
granite.fsh
main.cpp
marble.fsh
parameters.par
qt-logo.jpg
qt-logo.png
qtbox.cpp
qtbox.h
reflection.fsh
refraction.fsh
roundedbox.cpp
roundedbox.h
scene.cpp
scene.h
smiley.png
square.jpg
trackball.cpp
trackball.h
wood.fsh