quick backup
[demo] / src / scene.h
index 1633fd1..982cc76 100644 (file)
@@ -21,17 +21,15 @@ public:
        std::vector<Mesh *> meshes;
        std::vector<Material *> materials;
        std::vector<Texture *> textures;
-       // std::vector<Light *>lights;
-       // std::vector<Camera *>camera;
        std::vector<Object *> objects;
 
        Scene();
        ~Scene();
 
        bool load(const char *fname);
-       //TODO
-       // Texture *find_texture(const char *name);
-       // Material *find_material(const char *name);
-       // Mesh *find_mesh(const char *name);
+
+       Mesh *find_mesh(const char *name);
+       Material *find_material(const char *name);
+       Texture *find_texture(const char *name);
 };
 #endif // SCENE_H_
\ No newline at end of file