diff options
Diffstat (limited to 'Trapezocube.cpp')
-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; } + |