]> git.lizzy.rs Git - dragonblocks3d.git/blob - src/entity.cpp
New structure
[dragonblocks3d.git] / src / entity.cpp
1 #include "entity.hpp"
2
3 using namespace glm;
4 using namespace dragonblocks;
5
6 void IEntity::setPos(vec3 p)
7 {
8 }
9
10 vec3 IEntity::getPos()
11 {
12         return vec3(0);
13 }
14
15 void IEntity::setSize(vec3 s)
16 {
17 }
18
19 vec3 IEntity::getSize()
20 {
21         return vec3(0);
22 }
23
24 void IEntity::setRotationAxis(vec3 r)
25 {
26 }
27
28 vec3 IEntity::getRotationAxis()
29 {
30         return vec3(0);
31 }
32
33 void IEntity::setRotationAngle(double r)
34 {
35 }
36
37 double IEntity::getRotationAngle()
38 {
39         return 0.0;
40 }
41
42 void IEntity::setVisible(bool v)
43 {
44 }
45
46 bool IEntity::isVisible()
47 {
48         return false;
49 }
50
51 IEntity::IEntity(Map *m) : map(m)
52 {
53 }