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
21
class
PaperPlaneGeometry
:
public
QQuick3DGeometry
22
{
23
Q_OBJECT
24
QML_ELEMENT
25
26
public
:
27
explicit
PaperPlaneGeometry
(QQuick3DObject* parent =
nullptr
);
28
29
static
constexpr
int
kTriangleCount
= 3;
30
static
constexpr
int
kFloatsPerVertex
= 10;
31
};
PaperPlaneGeometry
Definition
PaperPlaneGeometry.h:22
PaperPlaneGeometry::kTriangleCount
static constexpr int kTriangleCount
Definition
PaperPlaneGeometry.h:29
PaperPlaneGeometry::kFloatsPerVertex
static constexpr int kFloatsPerVertex
position 3, normal 3, color 4
Definition
PaperPlaneGeometry.h:30
src
GeoMap
PaperPlaneGeometry.h
Generated by
1.9.8