projects
/
demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
98a259594a11fb5977910eb81208bc1200fa4ea0
[demo]
/
src
/
object.h
1
#ifndef OBJECT_H_
2
#define OBJECT_H_
3
4
#include <string>
5
6
#include <gmath/gmath.h>
7
8
class Mesh;
9
class ShaderProgram;
10
class Texture;
11
12
struct Material {
13
Vec3 diffuse;
14
Vec3 specular;
15
float shininess;
16
17
Texture *dtex; // diffuse
18
std::string name;
19
};
20
21
class Object {
22
public:
23
Mat4 transform;
24
Material *material;
25
Mesh *mesh;
26
27
Object();
28
~Object();
29
};
30
31
#endif // OBJECT_H_