]> git.tdb.fi Git - libs/gl.git/blobdiff - source/object.h
Allow bounding sphere hints for objects and export such from Blender
[libs/gl.git] / source / object.h
index 95ba8fabc5d746bb3b41453632b340dea7673f74..a11bfd9b654d0ffa98887fefcb2c886a360e1d98 100644 (file)
@@ -59,6 +59,7 @@ public:
                void init();
                virtual void finish();
 
+               void bounding_sphere_hint(float, float, float, float);
                void level_of_detail(unsigned);
        };
 
@@ -101,6 +102,7 @@ public:
        void set_technique(unsigned, const Technique *);
 
        const Technique *get_technique(unsigned = 0) const;
+       unsigned get_n_lods() const { return lods.size(); }
 
        virtual const Geometry::BoundingSphere<float, 3> *get_bounding_sphere() const { return &bounding_sphere; }