Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QPhysicsUtils Namespace Reference

Functions

Q_ALWAYS_INLINE physx::PxVec3 toPhysXType (const QVector3D &qvec)
 
Q_ALWAYS_INLINE physx::PxQuat toPhysXType (const QQuaternion &qquat)
 
Q_ALWAYS_INLINE physx::PxMat33 toPhysXType (const QMatrix3x3 &m)
 
Q_ALWAYS_INLINE QVector3D toQtType (const physx::PxVec3 &vec)
 
Q_ALWAYS_INLINE QQuaternion toQtType (const physx::PxQuat &quat)
 

Function Documentation

◆ toPhysXType() [1/3]

Q_ALWAYS_INLINE physx::PxMat33 QPhysicsUtils::toPhysXType ( const QMatrix3x3 m)

Definition at line 40 of file qphysicsutils_p.h.

◆ toPhysXType() [2/3]

Q_ALWAYS_INLINE physx::PxQuat QPhysicsUtils::toPhysXType ( const QQuaternion qquat)

Definition at line 35 of file qphysicsutils_p.h.

References QQuaternion::scalar(), QQuaternion::x(), QQuaternion::y(), and QQuaternion::z().

+ Here is the call graph for this function:

◆ toPhysXType() [3/3]

◆ toQtType() [1/2]

Q_ALWAYS_INLINE QQuaternion QPhysicsUtils::toQtType ( const physx::PxQuat &  quat)

Definition at line 50 of file qphysicsutils_p.h.

◆ toQtType() [2/2]

Q_ALWAYS_INLINE QVector3D QPhysicsUtils::toQtType ( const physx::PxVec3 &  vec)

Definition at line 45 of file qphysicsutils_p.h.

Referenced by QDebugDrawHelper::generateConvexMeshGeometry(), QDebugDrawHelper::generateTriangleMeshGeometry(), SimulationEventCallback::onContact(), ControllerCallback::onShapeHit(), and QPhysXCharacterController::sync().

+ Here is the caller graph for this function: