git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@125 92aac97c-a6ce-11dd-a772-7fcde58d38e6

This commit is contained in:
chappuis.daniel 2009-04-10 15:36:44 +00:00
parent a47781d320
commit 858fe20ac8
2 changed files with 1 additions and 4 deletions

View File

@ -84,7 +84,7 @@ void Cube::draw() const {
glTranslatef(x, y, z);
// Rotation of the cube according to its orientation
glRotatef(orientationAngle/pi*180.0, orientationAxis.getX(), orientationAxis.getY(), orientationAxis.getZ());
glRotatef(orientationAngle/PI*180.0, orientationAxis.getX(), orientationAxis.getY(), orientationAxis.getZ());
// Draw the cube
glutSolidCube(size);

View File

@ -21,9 +21,6 @@
#include "OutSideCamera.h"
#include <cmath>
// Constants
const double PI = 3.141592;
// Constructor
OutSideCamera::OutSideCamera() {