Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 709 vs 721 for /trunk/Source Code/Environment/Sky/Sky.cpp

Diff revisions: vs.
  @@ -44,7 +44,7 @@
44 44 SamplerDescriptor skyboxSampler;
45 45 skyboxSampler.toggleMipMaps(false);
46 46 skyboxSampler.setFilters(TextureFilter::LINEAR);
47 - skyboxSampler.toggleSRGBColorSpace(true);
47 + skyboxSampler.toggleSRGBColourSpace(true);
48 48 skyboxSampler.setAnisotropy(16);
49 49 skyboxSampler.setWrapMode(TextureWrap::CLAMP_TO_EDGE);
50 50
  @@ -144,9 +144,9 @@
144 144 }
145 145
146 146 void Sky::setSunProperties(const vec3<F32>& sunVect,
147 - const vec4<F32>& sunColor) {
147 + const vec4<F32>& sunColour) {
148 148 _skyShader->Uniform("sun_vector", sunVect);
149 - _skyShader->Uniform("sun_color", sunColor.rgb());
149 + _skyShader->Uniform("sun_colour", sunColour.rgb());
150 150 }
151 151
152 152 };