diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-02-26 18:04:43 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-04-07 13:07:48 +0000 |
commit | 95d034a14f78aaefd6990de180f715c8b4d510b1 (patch) | |
tree | f1f2879ffd11dd697ee268a335e92aacfb07a5f9 /src/gui/text | |
parent | 3fb6014ce71febe1cb18ceaff16840bb4aea7deb (diff) |
Introduce QQuaternion::fromDirection()
...which constructs a quaternion using specified forward and upward
directions, so that the resulting Z axis "faces" a given forward direction.
Change-Id: Ib77b8ab5c359a4880b0d946face87026acdc6f0b
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Michael Krasnyk <michael.krasnyk@gmail.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions