7#include <QtQuick3D/QQuick3DGeometry>
8#include <extensions/PxExtensionsAPI.h>
19
20
21
22
23
24
25
26
27
28
29
30
32QPlaneShape::QPlaneShape() =
default;
34QPlaneShape::~QPlaneShape()
36 delete m_planeGeometry;
39physx::PxGeometry *QPlaneShape::getPhysXGeometry()
41 if (!m_planeGeometry) {
42 updatePhysXGeometry();
44 return m_planeGeometry;
47void QPlaneShape::updatePhysXGeometry()
49 delete m_planeGeometry;
51 m_planeGeometry =
new physx::PxPlaneGeometry();
Combined button and popup list for selecting options.