1 | // Copyright (C) 2023 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include "qstaticphysxobjects_p.h" |
5 | #include <qassert.h> |
6 | #include <QGlobalStatic> |
7 | #include <new> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | Q_GLOBAL_STATIC(StaticPhysXObjects, s_physx); |
12 | |
13 | StaticPhysXObjects &StaticPhysXObjects::getReference() |
14 | { |
15 | return *s_physx; |
16 | } |
17 | |
18 | QT_END_NAMESPACE |
19 |