summaryrefslogtreecommitdiffstats
path: root/Trapezocube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Trapezocube.cpp')
-rw-r--r--Trapezocube.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Trapezocube.cpp b/Trapezocube.cpp
index 271db7d..bfb82c3 100644
--- a/Trapezocube.cpp
+++ b/Trapezocube.cpp
@@ -7,7 +7,7 @@ std::list<Triangle> Trapezocube::getTriangles(/*const Matrix &modelview*/)
// width, height, depth
vmml::mat4f rotation(vmml::mat4f::IDENTITY);
- rotation.rotate_y(rotate);
+ rotation.rotate_y(M_PI*rotate/180.0f);
// Front face
vmml::vec4f c(0.0, 0.0, 1.0, 0.5);