![]() |
Qt 6.x
The Qt SDK
|
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::PxMat33 QPhysicsUtils::toPhysXType | ( | const QMatrix3x3 & | m | ) |
Definition at line 40 of file qphysicsutils_p.h.
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().
Q_ALWAYS_INLINE physx::PxVec3 QPhysicsUtils::toPhysXType | ( | const QVector3D & | qvec | ) |
Definition at line 30 of file qphysicsutils_p.h.
References QVector3D::x(), QVector3D::y(), and QVector3D::z().
Referenced by PhysXWorld::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(), getPhysXWorldTransform(), QPhysicsWorld::setGravity(), and QPhysXCharacterController::sync().
Q_ALWAYS_INLINE QQuaternion QPhysicsUtils::toQtType | ( | const physx::PxQuat & | quat | ) |
Definition at line 50 of file qphysicsutils_p.h.
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().