00001 #ifndef CUBOID_H_ 00002 #define CUBOID_H_ 00003 00004 #include "BrushConstructor.h" 00005 00006 namespace brushconstruct 00007 { 00008 class Cuboid: public BrushConstructor 00009 { 00010 public: 00011 void generate (Brush& brush, const AABB& bounds, std::size_t sides, const TextureProjection& projection, 00012 const std::string& shader); 00013 00014 const std::string getName() const; 00015 00016 static BrushConstructor& getInstance () 00017 { 00018 static Cuboid _cuboid; 00019 return _cuboid; 00020 } 00021 }; 00022 } 00023 #endif /* CUBOID_H_ */