1 | // Copyright (C) 2023 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include "qphysxrigidbody_p.h" |
5 | |
6 | #include "qabstractphysicsbody_p.h" |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | QPhysXRigidBody::QPhysXRigidBody(QAbstractPhysicsBody *frontEnd) : QPhysXActorBody(frontEnd) { } |
11 | |
12 | void QPhysXRigidBody::createMaterial(QPhysXWorld *physX) |
13 | { |
14 | createMaterialFromQtMaterial( |
15 | physX, qtMaterial: static_cast<QAbstractPhysicsBody *>(frontendNode)->physicsMaterial()); |
16 | } |
17 | |
18 | QT_END_NAMESPACE |
19 |