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>.
|
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) |
Q_ALWAYS_INLINE physx::PxTransform | toPhysXTransform (const QVector3D &position, const QQuaternion &rotation) |
Q_ALWAYS_INLINE bool | fuzzyEquals (const physx::PxTransform &a, const physx::PxTransform &b) |
Variables | |
const QQuaternion | kMinus90YawRotation = QQuaternion::fromEulerAngles(0, -90, 0) |
Q_ALWAYS_INLINE bool QPhysicsUtils::fuzzyEquals | ( | const physx::PxTransform & | a, |
const physx::PxTransform & | b ) |
Definition at line 63 of file qphysicsutils_p.h.
References qFuzzyCompare().
Referenced by QPhysXActorBody::markDirtyShapes(), and QPhysXStaticBody::sync().
Q_ALWAYS_INLINE physx::PxTransform QPhysicsUtils::toPhysXTransform | ( | const QVector3D & | position, |
const QQuaternion & | rotation ) |
Definition at line 56 of file qphysicsutils_p.h.
References position(), and toPhysXType().
Referenced by QPhysXActorBody::createActor(), QPhysXStaticBody::createActor(), QPhysXStaticBody::sync(), and QPhysXTriggerBody::sync().
Q_ALWAYS_INLINE physx::PxMat33 QPhysicsUtils::toPhysXType | ( | const QMatrix3x3 & | m | ) |
Definition at line 41 of file qphysicsutils_p.h.
Q_ALWAYS_INLINE physx::PxQuat QPhysicsUtils::toPhysXType | ( | const QQuaternion & | qquat | ) |
Definition at line 36 of file qphysicsutils_p.h.
Q_ALWAYS_INLINE physx::PxVec3 QPhysicsUtils::toPhysXType | ( | const QVector3D & | qvec | ) |
Definition at line 31 of file qphysicsutils_p.h.
Referenced by QPhysXWorld::createScene(), QPhysicsCommandApplyCentralForce::execute(), QPhysicsCommandApplyForce::execute(), QPhysicsCommandApplyTorque::execute(), QPhysicsCommandApplyCentralImpulse::execute(), QPhysicsCommandApplyImpulse::execute(), QPhysicsCommandApplyTorqueImpulse::execute(), QPhysicsCommandSetAngularVelocity::execute(), QPhysicsCommandSetLinearVelocity::execute(), QPhysicsCommandSetMassAndInertiaTensor::execute(), QPhysicsCommandSetMassAndInertiaMatrix::execute(), QPhysicsCommandReset::execute(), getPhysXLocalTransform(), getPhysXWorldTransform(), QPhysicsWorld::setGravity(), QPhysXCharacterController::sync(), and toPhysXTransform().
Q_ALWAYS_INLINE QQuaternion QPhysicsUtils::toQtType | ( | const physx::PxQuat & | quat | ) |
Definition at line 51 of file qphysicsutils_p.h.
Q_ALWAYS_INLINE QVector3D QPhysicsUtils::toQtType | ( | const physx::PxVec3 & | vec | ) |
Definition at line 46 of file qphysicsutils_p.h.
Referenced by QDebugDrawHelper::generateConvexMeshGeometry(), QDebugDrawHelper::generateTriangleMeshGeometry(), SimulationEventCallback::onContact(), ControllerCallback::onShapeHit(), and QPhysXCharacterController::sync().
|
inline |
Definition at line 70 of file qphysicsutils_p.h.
Referenced by getPhysXLocalTransform().