Voxeloop  0.1.0
Musical Loop Generation in Voxel World
Cubes.hpp
Go to the documentation of this file.
1 #ifndef VOXELOOP_CUBES_HPP
2 #define VOXELOOP_CUBES_HPP
3 
4 #include "Cube.hpp"
5 #include "LinkedList.hpp"
6 
7 class Cubes {
8 public:
9  Cubes();
10  ~Cubes();
11 
12  void addCube();
13 
14  void rotate(float r);
15  void move(float z);
16  void scale(float s);
17  void draw();
18 
19  void activateShader();
20  void clean();
21 
22  void setPerspective(bool view);
23  void setPerVal(bool view);
24 
25 private:
28 };
29 
30 #endif // VOXELOOP_CUBES_HPP
Definition: Cubes.hpp:7
void rotate(float r)
Definition: Cubes.cpp:17
bool isPerspective
Definition: Cubes.hpp:27
~Cubes()
Definition: Cubes.cpp:8
void activateShader()
Definition: Cubes.cpp:58
void draw()
Definition: Cubes.cpp:47
void clean()
Definition: Cubes.cpp:80
void setPerVal(bool view)
Definition: Cubes.cpp:78
void setPerspective(bool view)
Definition: Cubes.cpp:68
LinkedList< Cube * > * list
Definition: Cubes.hpp:26
void move(float z)
Definition: Cubes.cpp:27
void addCube()
Definition: Cubes.cpp:10
Cubes()
Definition: Cubes.cpp:3
void scale(float s)
Definition: Cubes.cpp:37