Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 264 vs 265 for /trunk/Source Code/Rendering/Lighting/Headers/Light.h

Diff revisions: vs.
  @@ -79,8 +79,8 @@
79 79 ///A light object placed in the scene at a certain position
80 80 class Light : public SceneNode {
81 81 public:
82 - ///Create a new light assing to the specified slot with the specified range
83 - /// @param slot = the slot the light is assinged to (as in OpenGL slot for example)
82 + ///Create a new light assigned to the specified slot with the specified range
83 + /// @param slot = the slot the light is assigned to (as in OpenGL slot for example)
84 84 /// @param range = the light influence range (for spot/point lights)
85 85 Light(const U8 slot,const F32 range,const LightType& type);
86 86 virtual ~Light();
  @@ -107,7 +107,7 @@
107 107 inline const LightShadowProperties& getShadowProperties() const {return _shadowProperties;}
108 108 ///Get light diffuse color
109 109 inline vec3<F32> getDiffuseColor() const {return _properties._diffuse.rgb();}
110 - ///Get light position for omni and spot or direction for a directional light (also accessible via the "getDirection" method of the "DirectionalLight" class
110 + ///Get light position for omni and spot or direction for a directional light
111 111 inline vec3<F32> getPosition() const {return _properties._position.xyz();}
112 112 void setPosition(const vec3<F32>& newPosition);
113 113 ///Get direction for spot lights