Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 330 vs 331 for /trunk/Source Code/Rendering/Lighting/DirectionalLight.cpp

Diff revisions: vs.
  @@ -13,7 +13,9 @@
13 13 _csmNearClipOffset(100.0f)
14 14 {
15 15 vec2<F32> angle(0.0f, RADIANS(45.0f));
16 - setDirection(vec3<F32>(-cosf(angle.x) * sinf(angle.y),-cosf(angle.y),-sinf(angle.x) * sinf(angle.y)));
16 + setDirection(vec3<F32>(-cosf(angle.x) * sinf(angle.y),
17 + -cosf(angle.y),
18 + -sinf(angle.x) * sinf(angle.y)));
17 19 }
18 20
19 21 DirectionalLight::~DirectionalLight()