vrheights
view src/scenefile.h @ 8:3f221bdc9bab
mesh loading
walk polys
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 03 Oct 2014 04:16:16 +0300 |
parents | |
children |
line source
1 #ifndef SCENEFILE_H_
2 #define SCENEFILE_H_
4 #include <vector>
5 #include "mesh.h"
6 #include "object.h"
8 class SceneFile {
9 public:
10 std::vector<Mesh*> mesh;
11 std::vector<Mesh*> colmesh;
12 std::vector<Object*> obj;
14 SceneFile();
15 ~SceneFile();
17 bool load(const char *fname);
19 Vector3 find_walk_pos(const Vector3 &pos) const;
20 };
22 #endif // SCENEFILE_H_