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
9QT_BEGIN_NAMESPACE
10
11Q_GLOBAL_STATIC(StaticPhysXObjects, s_physx);
12
13StaticPhysXObjects &StaticPhysXObjects::getReference()
14{
15 return *s_physx;
16}
17
18QT_END_NAMESPACE
19

source code of qtquick3dphysics/src/quick3dphysics/qstaticphysxobjects.cpp