Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquick3dquaternionanimation.cpp File Reference
#include "qquick3dquaternionanimation_p.h"
#include <QtQuick/private/qquickanimation_p_p.h>
+ Include dependency graph for qquick3dquaternionanimation.cpp:

Go to the source code of this file.

Classes

class  QQuick3DQuaternionAnimationPrivate
 \qmltype QuaternionAnimation \inherits PropertyAnimation \inqmlmodule QtQuick3D More...
 

Functions

QVariant q_quaternionInterpolator (const QQuaternion &from, const QQuaternion &to, qreal progress)
 
QVariant q_quaternionNlerpInterpolator (const QQuaternion &from, const QQuaternion &to, qreal progress)
 

Function Documentation

◆ q_quaternionInterpolator()

QVariant q_quaternionInterpolator ( const QQuaternion from,
const QQuaternion to,
qreal  progress 
)

Definition at line 51 of file qquick3dquaternionanimation.cpp.

References QVariant::fromValue(), and QQuaternion::slerp().

+ Here is the call graph for this function:

◆ q_quaternionNlerpInterpolator()

QVariant q_quaternionNlerpInterpolator ( const QQuaternion from,
const QQuaternion to,
qreal  progress 
)

Definition at line 56 of file qquick3dquaternionanimation.cpp.

References QVariant::fromValue(), and QQuaternion::nlerp().

Referenced by QQuick3DQuaternionAnimation::setType().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: