From 858fe20ac8f889e39a4398e7688018ceee7cb7e3 Mon Sep 17 00:00:00 2001 From: "chappuis.daniel" Date: Fri, 10 Apr 2009 15:36:44 +0000 Subject: [PATCH] git-svn-id: https://reactphysics3d.googlecode.com/svn/trunk@125 92aac97c-a6ce-11dd-a772-7fcde58d38e6 --- sources/demo/Objects.cpp | 2 +- sources/demo/OutSideCamera.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sources/demo/Objects.cpp b/sources/demo/Objects.cpp index 705644ac..2fc2280b 100755 --- a/sources/demo/Objects.cpp +++ b/sources/demo/Objects.cpp @@ -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); diff --git a/sources/demo/OutSideCamera.cpp b/sources/demo/OutSideCamera.cpp index a6ad14f5..59013809 100644 --- a/sources/demo/OutSideCamera.cpp +++ b/sources/demo/OutSideCamera.cpp @@ -21,9 +21,6 @@ #include "OutSideCamera.h" #include -// Constants -const double PI = 3.141592; - // Constructor OutSideCamera::OutSideCamera() {