diff options
author | Constantin Riß <constantin.riss@dre.de> | 2009-12-10 22:01:28 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2009-12-10 22:01:28 +0100 |
commit | cb23d219b3b96aa07ac7ed03d7dfdb316c5f9b9b (patch) | |
tree | 0fa5ccabaf92dff5948ea948eeb5fadfbfc39fd6 | |
parent | fbed33283cdd85589e4ea577ba11e635f55723f0 (diff) | |
download | c3d-cb23d219b3b96aa07ac7ed03d7dfdb316c5f9b9b.tar c3d-cb23d219b3b96aa07ac7ed03d7dfdb316c5f9b9b.zip |
Kleiner Fehler im code beglichen.
-rw-r--r-- | Trapezocube.cpp | 4 |
1 files 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<Triangle> 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<Triangle> Trapezocube::getTriangles() return triangles; } + |