Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstaticphysxobjects.cpp
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
6#include <qassert.h>
7#include <QGlobalStatic>
8#include <new>
9
11
13
15{
16 return *s_physx;
17}
18
QT_BEGIN_NAMESPACE Q_GLOBAL_STATIC(StaticPhysXObjects, s_physx)
#define QT_BEGIN_NAMESPACE
#define QT_END_NAMESPACE
static StaticPhysXObjects & getReference()