Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qphysicsutils_p.h File Reference

(e306c2ff211e666463e960d8201743239fa934de)

#include <QVector3D>
#include <QQuaternion>
#include <foundation/PxTransform.h>
#include <foundation/PxMat33.h>
#include <foundation/PxQuat.h>
#include <foundation/PxVec3.h>
+ Include dependency graph for qphysicsutils_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  physx
 
namespace  QPhysicsUtils
 

Functions

Q_ALWAYS_INLINE physx::PxVec3 QPhysicsUtils::toPhysXType (const QVector3D &qvec)
 
Q_ALWAYS_INLINE physx::PxQuat QPhysicsUtils::toPhysXType (const QQuaternion &qquat)
 
Q_ALWAYS_INLINE physx::PxMat33 QPhysicsUtils::toPhysXType (const QMatrix3x3 &m)
 
Q_ALWAYS_INLINE QVector3D QPhysicsUtils::toQtType (const physx::PxVec3 &vec)
 
Q_ALWAYS_INLINE QQuaternion QPhysicsUtils::toQtType (const physx::PxQuat &quat)
 
Q_ALWAYS_INLINE physx::PxTransform QPhysicsUtils::toPhysXTransform (const QVector3D &position, const QQuaternion &rotation)
 
Q_ALWAYS_INLINE bool QPhysicsUtils::fuzzyEquals (const physx::PxTransform &a, const physx::PxTransform &b)
 

Variables

const QQuaternion QPhysicsUtils::kMinus90YawRotation = QQuaternion::fromEulerAngles(0, -90, 0)