Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 299 vs 318 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/SingleShadowMap.cpp

Diff revisions: vs.
  @@ -9,6 +9,8 @@
9 9 #include "Hardware/Video/Headers/GFXDevice.h"
10 10 #include "Geometry/Shapes/Headers/Predefined/Quad3D.h"
11 11
12 + namespace Divide {
13 +
12 14 SingleShadowMap::SingleShadowMap(Light* light, Camera* shadowCamera) : ShadowMap(light, shadowCamera, SHADOW_TYPE_Single)
13 15 {
14 16 PRINT_FN(Locale::get("LIGHT_CREATE_SHADOW_FB"), light->getGUID(), "Single Shadow Map");
  @@ -77,4 +79,6 @@
77 79 void SingleShadowMap::previewShadowMaps(){
78 80 _depthMap->Bind(ShaderProgram::TEXTURE_UNIT0);
79 81 GFX_DEVICE.drawPoints(1, GFX_DEVICE.getDefaultStateBlock(true), _previewDepthMapShader);
80 - }
82 + }
83 +
84 + };