From 7b95a7d4bf899b4e87509ded6bf9633b944febaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Thu, 10 Dec 2009 22:13:21 +0100 Subject: Cubehole wird richtig angezeigt. --- Trapezocube.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Trapezocube.cpp') diff --git a/Trapezocube.cpp b/Trapezocube.cpp index 0412413..5825efc 100644 --- a/Trapezocube.cpp +++ b/Trapezocube.cpp @@ -16,6 +16,7 @@ std::list 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), -- cgit v1.2.3