Tilemap tilemap_;
- long detail_;
bool blending_;
bool fog_;
public:
+ enum SURFACE_TYPE
+ {
+ LEFT = 1,
+ RIGHT = 2,
+ TOP = 3
+ };
+
Quad(const Vector3 vertices[4], const std::string& texture,
Tilemap::Index tileIndex) :
tilemap_(texture),
- detail_(0),
blending_(false),
fog_(false)
{
sphere_.radius = (aabb_.min - sphere_.point).length();
}
- void setDetail(long detail)
- {
- detail_ = detail;
- }
-
void setBlending(bool blending)
{
blending_ = blending;