Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 993 vs 1004 for /trunk/Source Code/Rendering/Lighting/Headers/Light.h

Diff revisions: vs.
  @@ -99,11 +99,11 @@
99 99
100 100 void setDiffuseColour(const vec3<U8>& newDiffuseColour);
101 101
102 - inline void setDiffuseColour(const vec4<U8>& newDiffuseColour) {
102 + inline void setDiffuseColour(const UColour& newDiffuseColour) {
103 103 setDiffuseColour(newDiffuseColour.rgb());
104 104 }
105 105
106 - inline void setDiffuseColour(const vec4<F32>& newDiffuseColour) {
106 + inline void setDiffuseColour(const FColour& newDiffuseColour) {
107 107 setDiffuseColour(newDiffuseColour.rgb());
108 108 }
109 109
  @@ -225,8 +225,8 @@
225 225 vec4<F32> _positionAndRange;
226 226 /// xyz - direction, w - cone angle
227 227 vec4<F32> _spotProperties;
228 - /// rgb - diffuse, w - reserved
229 - vec4<U8> _colour;
228 + /// rgb - diffuse, a - reserved
229 + UColour _colour;
230 230 // does this light casts shadows?
231 231 bool _castsShadows;
232 232 // Shadow mapping properties