Files
fishtanks/src/Components/Model.h
T

25 lines
511 B
C++
Executable File

#ifndef Components_Model_h__
#define Components_Model_h__
#include <string>
#include "Component.h"
namespace Components
{
struct Model : Component
{
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); }
};
}
#endif // !Components_Model_h__