diff options
author | Hubert Jarosz <marqin.pl@gmail.com> | 2016-03-09 00:00:52 +0100 |
---|---|---|
committer | Hubert Jarosz <marqin.pl@gmail.com> | 2016-03-09 00:00:52 +0100 |
commit | 4a4f2479146aa33e235ed57cde311efda68d3c8f (patch) | |
tree | cf91f2869ff8f058c6682569fb31e22e5ee736ad /scene/3d/light.h | |
parent | 1dad6eca812e5c2e313b54265114de8a1d73d999 (diff) | |
download | redot-engine-4a4f2479146aa33e235ed57cde311efda68d3c8f.tar.gz |
remove trailing whitespace
Diffstat (limited to 'scene/3d/light.h')
-rw-r--r-- | scene/3d/light.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/scene/3d/light.h b/scene/3d/light.h index b74085b7a9..b25c6a44b5 100644 --- a/scene/3d/light.h +++ b/scene/3d/light.h @@ -43,7 +43,7 @@ class Light : public VisualInstance { OBJ_CATEGORY("3D Light Nodes"); public: - + enum Parameter { PARAM_RADIUS=VisualServer::LIGHT_PARAM_RADIUS, PARAM_ENERGY=VisualServer::LIGHT_PARAM_ENERGY, @@ -57,10 +57,10 @@ public: PARAM_SHADOW_BLUR_PASSES=VisualServer::LIGHT_PARAM_SHADOW_BLUR_PASSES, PARAM_MAX=VisualServer::LIGHT_PARAM_MAX }; - - + + enum LightColor { - + COLOR_DIFFUSE=VisualServer::LIGHT_COLOR_DIFFUSE, COLOR_SPECULAR=VisualServer::LIGHT_COLOR_SPECULAR }; @@ -81,13 +81,13 @@ public: OPERATOR_SUB }; private: - - + + Ref<Texture> projector; float vars[PARAM_MAX]; Color colors[3]; - - + + BakeMode bake_mode; VisualServer::LightType type; bool shadows; @@ -98,18 +98,18 @@ private: void _update_visibility(); // bind helpers -protected: +protected: RID light; virtual bool _can_gizmo_scale() const; virtual RES _get_gizmo_geometry() const; - + static void _bind_methods(); void _notification(int p_what); - - Light(VisualServer::LightType p_type); + + Light(VisualServer::LightType p_type); public: VS::LightType get_light_type() const { return type; } |