summaryrefslogtreecommitdiffstats
path: root/src/gui/math3d/qmatrix4x4.cpp
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-02-26 17:51:26 +0400
committerKonstantin Ritt <ritt.ks@gmail.com>2015-03-07 01:14:15 +0000
commitda681a41cbe10be643c76b3150ab28eadf18df69 (patch)
treeb3e89ac36735d416423f1128b22b9c8825a63538 /src/gui/math3d/qmatrix4x4.cpp
parent1e441d298db5e7ad1635067106e4b7ed251fd4bd (diff)
Introduce QQuaternion::rotationTo(vecFrom, vecTo)
which returns the shortest arc quaternion to rotate vector from to the destination vector to. Change-Id: Ibd7a746789ecdfe6f7fe17e4ac9049f7ac46560d Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/gui/math3d/qmatrix4x4.cpp')
0 files changed, 0 insertions, 0 deletions