-bool DaeLoader::Load(SceneMain& scene, const std::string& filename)
+GeomObject* DaeLoader::LoadGeom(SceneMain& scene, const std::string& filename)
{
AssimpReader reader(geom::GeomFileFormat::Collada);
- geom::GeomObject* geom = reader.LoadGeom(scene, filename);
+ return reader.LoadGeom(scene, filename);
+}
+
+bool DaeLoader::Load(SceneMain& scene, const std::string& filename)
+{
+ GeomObject* geom = LoadGeom(scene, filename);
if (geom == NULL)
return false;