LevelOfDetail &lod;
public:
- LodLoader(Object &, unsigned, Collection *);
+ LodLoader(Object &, unsigned, Collection &);
private:
void mesh(const std::string &);
class Loader: public LodLoader
{
public:
- Loader(Object &o): Loader(o, 0) { }
- Loader(Object &o, Collection &c): Loader(o, &c) { }
+ Loader(Object &, Collection &);
private:
- Loader(Object &, Collection *);
virtual void finish();
void bounding_sphere_hint(float, float, float, float);
std::vector<LevelOfDetail> lods;
Geometry::BoundingSphere<float, 3> bounding_sphere;
- bool lod0_watched;
+ bool lod0_watched = false;
static const Matrix identity_matrix;