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/QvPointLight.h | |
| download | openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip | |
Diffstat (limited to 'tool_src/QvLib/QvPointLight.h')
| -rw-r--r-- | tool_src/QvLib/QvPointLight.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tool_src/QvLib/QvPointLight.h b/tool_src/QvLib/QvPointLight.h new file mode 100644 index 0000000..09008bf --- /dev/null +++ b/tool_src/QvLib/QvPointLight.h @@ -0,0 +1,22 @@ +#ifndef _QV_POINT_LIGHT_ +#define _QV_POINT_LIGHT_ + +#include <QvSFBool.h> +#include <QvSFColor.h> +#include <QvSFFloat.h> +#include <QvSFVec3f.h> +#include <QvSubNode.h> + +class QvPointLight : public QvNode { + + QV_NODE_HEADER(QvPointLight); + + public: + // Fields + QvSFBool on; // Whether light is on + QvSFFloat intensity; // Source intensity (0 to 1) + QvSFColor color; // RGB source color + QvSFVec3f location; // Source location +}; + +#endif /* _QV_POINT_LIGHT_ */ |
