diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-12-10 09:43:46 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-12-10 09:43:46 +0100 |
commit | 4f2236f36446a5b097e28c0f76e4962ce7e115b1 (patch) | |
tree | 93c98d81a818844b16ae044aa9d309abd8d7c191 /Trapezocube.cpp | |
parent | 1a321ed999334f0d9f5255249ebeeed0278871d6 (diff) | |
download | c3d-4f2236f36446a5b097e28c0f76e4962ce7e115b1.tar c3d-4f2236f36446a5b097e28c0f76e4962ce7e115b1.zip |
BSPTrees fertig
Diffstat (limited to 'Trapezocube.cpp')
-rw-r--r-- | Trapezocube.cpp | 2 |
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); |