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
:
26
LinkedList<Cube *>
*
list
;
27
bool
isPerspective
;
28
};
29
30
#endif
// VOXELOOP_CUBES_HPP
Cube.hpp
LinkedList.hpp
Cubes
Definition:
Cubes.hpp:7
Cubes::rotate
void rotate(float r)
Definition:
Cubes.cpp:17
Cubes::isPerspective
bool isPerspective
Definition:
Cubes.hpp:27
Cubes::~Cubes
~Cubes()
Definition:
Cubes.cpp:8
Cubes::activateShader
void activateShader()
Definition:
Cubes.cpp:58
Cubes::draw
void draw()
Definition:
Cubes.cpp:47
Cubes::clean
void clean()
Definition:
Cubes.cpp:80
Cubes::setPerVal
void setPerVal(bool view)
Definition:
Cubes.cpp:78
Cubes::setPerspective
void setPerspective(bool view)
Definition:
Cubes.cpp:68
Cubes::list
LinkedList< Cube * > * list
Definition:
Cubes.hpp:26
Cubes::move
void move(float z)
Definition:
Cubes.cpp:27
Cubes::addCube
void addCube()
Definition:
Cubes.cpp:10
Cubes::Cubes
Cubes()
Definition:
Cubes.cpp:3
Cubes::scale
void scale(float s)
Definition:
Cubes.cpp:37
LinkedList< Cube * >
core
include
Cubes.hpp
Generated by
1.9.0