This commit is contained in:
viktorljung
2015-12-17 10:38:13 +01:00
parent 5602b32507
commit 6a3c14540d
6 changed files with 51 additions and 63 deletions
+2
View File
@@ -67,6 +67,7 @@ private:
glm::vec3 Normal;
float d;
};
struct Frustum {
Plane Planes[4];
};
@@ -90,6 +91,7 @@ private:
float Amount;
glm::vec2 Padding;
};
LightGrid m_LightGrid[80*45];
int m_LightOffset = 0;