diff options
author | Constantin Riß <constantin.riss@dre.de> | 2009-12-10 22:13:21 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2009-12-10 22:13:21 +0100 |
commit | 7b95a7d4bf899b4e87509ded6bf9633b944febaf (patch) | |
tree | 774529c58c79712c41149987e3b6fa89405210f8 /Trapezocube.cpp | |
parent | cb23d219b3b96aa07ac7ed03d7dfdb316c5f9b9b (diff) | |
download | c3d-7b95a7d4bf899b4e87509ded6bf9633b944febaf.tar c3d-7b95a7d4bf899b4e87509ded6bf9633b944febaf.zip |
Cubehole wird richtig angezeigt.
Diffstat (limited to 'Trapezocube.cpp')
-rw-r--r-- | Trapezocube.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Trapezocube.cpp b/Trapezocube.cpp index 0412413..5825efc 100644 --- a/Trapezocube.cpp +++ b/Trapezocube.cpp @@ -16,6 +16,7 @@ std::list<Triangle> Trapezocube::getTriangles() triangles.push_back(Triangle(vmml::vec3f(x-widthfront/2, y-height/2, z+depth/2), vmml::vec3f(x+widthfront/2, y-height/2, z+depth/2), vmml::vec3f(x+widthfront/2, y+height/2, z+depth/2), color)); + // Back face triangles.push_back(Triangle(vmml::vec3f(x-widthback/2, y+height/2, z-depth/2), vmml::vec3f(x+widthback/2, y+height/2, z-depth/2), |