Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-28 00:37:24 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-09-28 00:37:24 +0400
commitcdee3435c67abebb633cb09410c4a87d42ff61e3 (patch)
tree9647e36a3661caab918e7726a5971b58b444d403 /intern/cycles/render/light.h
parent136d27b350355232ebe4d0a13427777445334b05 (diff)
Cycles: internal changes that should have no effect on user level yet, added
shader flags for various purposes, and some code for light types other than points.
Diffstat (limited to 'intern/cycles/render/light.h')
-rw-r--r--intern/cycles/render/light.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/intern/cycles/render/light.h b/intern/cycles/render/light.h
index dbc333260ee..19cbcb55386 100644
--- a/intern/cycles/render/light.h
+++ b/intern/cycles/render/light.h
@@ -19,6 +19,8 @@
#ifndef __LIGHT_H__
#define __LIGHT_H__
+#include "kernel_types.h"
+
#include "util_types.h"
#include "util_vector.h"
@@ -33,8 +35,19 @@ class Light {
public:
Light();
+ LightType type;
float3 co;
- float radius; /* not implemented yet */
+
+ float3 dir;
+ float size;
+
+ float3 axisu;
+ float sizeu;
+ float3 axisv;
+ float sizev;
+
+ bool cast_shadow;
+
int shader;
void tag_update(Scene *scene);