-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextractBottom.cpp
34 lines (26 loc) · 1005 Bytes
/
extractBottom.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "extractBottom.h"
#include "cubeface.h"
vector<Color> ExtractBottom::extractLeftFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getBottom();
}
vector<Color> ExtractBottom::extractRightFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getBottom();
}
vector<Color> ExtractBottom::extractTopFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getBottom();
}
vector<Color> ExtractBottom::extractBottomFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getBottom();
}
void ExtractBottom::setLeftFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setBottom(colors);
}
void ExtractBottom::setRightFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setBottom(colors);
}
void ExtractBottom::setTopFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setBottom(colors);
}
void ExtractBottom::setBottomFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setBottom(colors);
}