vrheights
view src/scenefile.h @ 16:7f6d68d95c22
updated to new version of goatvr
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 30 Oct 2015 06:34:31 +0200 |
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_