projects
/
demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed diagram
[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
}