diff options
Diffstat (limited to 'Cubehole.cpp')
-rw-r--r-- | Cubehole.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Cubehole.cpp b/Cubehole.cpp index 03ddc28..0fc32ae 100644 --- a/Cubehole.cpp +++ b/Cubehole.cpp @@ -3,6 +3,11 @@ std::list<Triangle> Cubehole::getTriangles() { + front.setPos(x, y, z+(depth/2-(depth-innerdepth)/4)); + right.setPos(-z, y, x-(width/2-(width-innerwidth)/4)); + back.setPos(-x, y, -z+(depth/2-(depth-innerdepth)/4)); + left.setPos(z, y, -x-(width/2-(width-innerwidth)/4)); + std::list<Triangle> triangles; // width, height, depth |