From 4f2236f36446a5b097e28c0f76e4962ce7e115b1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Dec 2009 09:43:46 +0100 Subject: BSPTrees fertig --- Trapezocube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Trapezocube.cpp') diff --git a/Trapezocube.cpp b/Trapezocube.cpp index 271db7d..bfb82c3 100644 --- a/Trapezocube.cpp +++ b/Trapezocube.cpp @@ -7,7 +7,7 @@ std::list 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); -- cgit v1.2.3