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