diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-08-24 11:16:07 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-08-24 11:16:07 +0200 |
| commit | c068f22329d5cc722622a2183bbb22eef2093df7 (patch) | |
| tree | 12d56c1aede67988a55e241364606bfbb4dba933 /tool_src/QvLib/QvCone.h | |
| download | openparsec-main.tar.xz openparsec-main.zip | |
Diffstat (limited to 'tool_src/QvLib/QvCone.h')
| -rw-r--r-- | tool_src/QvLib/QvCone.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tool_src/QvLib/QvCone.h b/tool_src/QvLib/QvCone.h new file mode 100644 index 0000000..74a3291 --- /dev/null +++ b/tool_src/QvLib/QvCone.h @@ -0,0 +1,26 @@ +#ifndef _QV_CONE_ +#define _QV_CONE_ + +#include <QvSFBitMask.h> +#include <QvSFFloat.h> +#include <QvSubNode.h> + +class QvCone : public QvNode { + + QV_NODE_HEADER(QvCone); + + public: + + enum Part { // Cone parts: + SIDES = 0x01, // The conical part + BOTTOM = 0x02, // The bottom circular face + ALL = 0x03 // All parts + }; + + // Fields + QvSFBitMask parts; // Visible parts of cone + QvSFFloat bottomRadius; // Radius of bottom circular face + QvSFFloat height; // Size in y dimension +}; + +#endif /* _QV_CONE_ */ |
