]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shadowmap.h
Use vector and matrix operations in ShadowMap
[libs/gl.git] / source / shadowmap.h
index aeabaeb19a89895c1ba07b5f3666d239d118c6b2..1b9d8f14aa6a72f58ba6fbc22c55067e801fd866 100644 (file)
@@ -26,6 +26,7 @@ private:
        const Light &light;
        mutable Framebuffer fbo;
        mutable Matrix light_matrix;
+       mutable Matrix view_matrix;
        unsigned unit;
        Texture2D depth_buf;
        Vector3 target;