QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PaperPlaneGeometry.h
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * (c) 2009-2024 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 *
5 * QGroundControl is licensed according to the terms in the file
6 * COPYING.md in the root of the source code directory.
7 *
8 ****************************************************************************/
9
10#pragma once
11
12#include <QtQuick3D/QQuick3DGeometry>
13
21class PaperPlaneGeometry : public QQuick3DGeometry
22{
23 Q_OBJECT
24 QML_ELEMENT
25
26public:
27 explicit PaperPlaneGeometry(QQuick3DObject* parent = nullptr);
28
29 static constexpr int kTriangleCount = 3;
30 static constexpr int kFloatsPerVertex = 10;
31};
static constexpr int kTriangleCount
static constexpr int kFloatsPerVertex
position 3, normal 3, color 4