#include <msp/fs/utils.h>
#include <msp/strings/format.h>
#include "error.h"
-#include "material.h"
#include "mesh.h"
#include "object.h"
#include "objectinstance.h"
-#include "program.h"
-#include "programdata.h"
#include "renderer.h"
#include "resourcemanager.h"
#include "technique.h"
}
-Object::Loader::Loader(Object &o):
- LodLoader(o, 0, 0)
-{
- init();
-}
-
-Object::Loader::Loader(Object &o, Collection &c):
- LodLoader(o, 0, &c)
-{
- init();
-}
-
-void Object::Loader::init()
+Object::Loader::Loader(Object &o, Collection *c):
+ LodLoader(o, 0, c)
{
add("bounding_sphere_hint", &Loader::bounding_sphere_hint);
add("level_of_detail", &Loader::level_of_detail);