From cb23d219b3b96aa07ac7ed03d7dfdb316c5f9b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Thu, 10 Dec 2009 22:01:28 +0100 Subject: Kleiner Fehler im code beglichen. --- Trapezocube.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Trapezocube.cpp b/Trapezocube.cpp index 85570c3..0412413 100644 --- a/Trapezocube.cpp +++ b/Trapezocube.cpp @@ -17,8 +17,7 @@ std::list Trapezocube::getTriangles() 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 - (trianglultisample) { - glClearColor(0.0, );//glClearColor(1.0, 0.85, 0.es.push_back(Triangle(vmml::vec3f(x-widthback/2, y+height/2, z-depth/2), + 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), vmml::vec3f(x-widthback/2, y-height/2, z-depth/2), color)); @@ -68,3 +67,4 @@ std::list Trapezocube::getTriangles() return triangles; } + -- cgit v1.2.3