vrheights
diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/scenefile.h Fri Oct 03 04:16:16 2014 +0300 1.3 @@ -0,0 +1,22 @@ 1.4 +#ifndef SCENEFILE_H_ 1.5 +#define SCENEFILE_H_ 1.6 + 1.7 +#include <vector> 1.8 +#include "mesh.h" 1.9 +#include "object.h" 1.10 + 1.11 +class SceneFile { 1.12 +public: 1.13 + std::vector<Mesh*> mesh; 1.14 + std::vector<Mesh*> colmesh; 1.15 + std::vector<Object*> obj; 1.16 + 1.17 + SceneFile(); 1.18 + ~SceneFile(); 1.19 + 1.20 + bool load(const char *fname); 1.21 + 1.22 + Vector3 find_walk_pos(const Vector3 &pos) const; 1.23 +}; 1.24 + 1.25 +#endif // SCENEFILE_H_