-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextractTop.cpp
More file actions
34 lines (26 loc) · 954 Bytes
/
extractTop.cpp
File metadata and controls
34 lines (26 loc) · 954 Bytes
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 "extractTop.h"
#include "cubeface.h"
vector<Color> ExtractTop::extractLeftFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getTop();
}
vector<Color> ExtractTop::extractRightFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getTop();
}
vector<Color> ExtractTop::extractTopFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getTop();
}
vector<Color> ExtractTop::extractBottomFace(CubeFace* cubeface, bool clockwise) const {
return cubeface->getTop();
}
void ExtractTop::setLeftFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setTop(colors);
}
void ExtractTop::setRightFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setTop(colors);
}
void ExtractTop::setTopFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setTop(colors);
}
void ExtractTop::setBottomFace(CubeFace* cubeface, vector<Color> colors) const {
cubeface->setTop(colors);
}