projects
/
laserbrain_demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
assimp
[laserbrain_demo]
/
src
/
scene.h
1
#ifndef SCENE_H_
2
#define SCENE_H_
3
4
#include <vector>
5
#include "mesh.h"
6
#include "snode.h"
7
8
class Scene {
9
public:
10
std::vector<Mesh*> meshes;
11
std::vector<Object*> objects;
12
SceneNode *nodes;
13
14
Scene();
15
~Scene();
16
17
Scene(const Scene &rhs) = delete;
18
Scene &operator =(const Scene &rhs) = delete;
19
20
void destroy();
21
22
bool load(const char *fname);
23
24
void update(float dt);
25
void draw() const;
26
};
27
28
#endif // SCENE_H_