enum ObjType { OBJ_NULL, OBJ_MESH };
class Object {
-private:
+protected:
std::string name;
+ mutable AABox aabb;
public:
Material mtl;
- //GeomObject *bvol;
SceneNode *node;
Object();
virtual void update(float dt = 0.0f);
virtual void draw() const;
+
+ virtual const AABox &get_aabox() const;
};
#endif // OBJECT_H_