Skybox working, flag for averaging normals working.

This commit is contained in:
Tleety
2014-06-05 05:19:34 +02:00
parent a6941c0fb6
commit fd92f37902
11 changed files with 235 additions and 34 deletions
+2 -1
View File
@@ -10,12 +10,13 @@ namespace Components
struct Model : Component
{
Model() : Color(glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)), Visible(true), ShadowCaster(true), Transparent(false) { }
Model() : Color(glm::vec4(1.0f, 1.0f, 1.0f, 1.0f)), Visible(true), ShadowCaster(true), Transparent(false), AverageNormals(false) { }
std::string ModelFile;
glm::vec4 Color;
bool Visible;
bool ShadowCaster;
bool Transparent;
bool AverageNormals;
virtual Model* Clone() const override { return new Model(*this); }
};