blob: 74a3291edab56dec783728bd585e6563523869b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_ */
|