first git commit: scene, object, mesh, texture, shader, material etc
[demo] / src / object.cc
1 #include "object.h"
2 #include "mesh.h"
3 #include "shader.h"
4
5 Object::Object()
6 {
7         material.diffuse = Vec3(0, 0, 0);
8         material.specular = Vec3(0, 0, 0);
9         material.shininess = 0;
10         material.dtex = 0;
11
12         mesh = 0;
13 }
14
15 Object::~Object()
16 {
17         delete mesh;
18 }