From 4ea1acc83c83d2e9db163b50e02ae4ff2d07df6b Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 11 Feb 2009 06:47:04 +0000 Subject: Compile fix. git-svn-id: http://svn.leocad.org/tags/leocad-0.75@736 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- common/project.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/project.cpp b/common/project.cpp index 1f4cea9..9ec851c 100644 --- a/common/project.cpp +++ b/common/project.cpp @@ -122,7 +122,7 @@ Project::Project() m_pScreenFont = new TexFont(); - VRMLscale = 0.01f; // centimeter to meter + VRMLScale = 0.01f; // centimeter to meter } Project::~Project() @@ -9625,7 +9625,7 @@ void Project::writeVRMLShapeMeshData(FILE *stream) for (int i = 0; i < numCoords; i++) { writeIndent(stream); - fprintf(stream, "%f %f %f\n", coords[i * 3] * VRMLscale, coords[i * 3 + 1] * VRMLscale, coords[i * 3 + 2] * VRMLscale); + fprintf(stream, "%f %f %f\n", coords[i * 3] * VRMLScale, coords[i * 3 + 1] * VRMLScale, coords[i * 3 + 2] * VRMLScale); } } @@ -10076,7 +10076,7 @@ void Project::exportVRMLFile(char *filename, int dialect) fprintf(stream, "Transform {\n"); indent += INDENT_INC; writeIndent(stream); - fprintf(stream, "translation %g %g %g\n", pos[1] * VRMLscale, pos[2] * VRMLscale, pos[0] * VRMLscale); + fprintf(stream, "translation %g %g %g\n", pos[1] * VRMLScale, pos[2] * VRMLScale, pos[0] * VRMLScale); writeIndent(stream); fprintf(stream, "rotation %g %g %g %g\n", rot[1], rot[2], rot[0], rot[3] * M_PI / 180.0); writeIndent(stream); @@ -10194,7 +10194,7 @@ void Project::exportVRMLFile(char *filename, int dialect) fprintf(stream, "RigidBody {\n"); indent += INDENT_INC; writeIndent(stream); - fprintf(stream, "position %g %g %g\n", pos[1] * VRMLscale, pos[2] * VRMLscale, pos[0] * VRMLscale); + fprintf(stream, "position %g %g %g\n", pos[1] * VRMLScale, pos[2] * VRMLScale, pos[0] * VRMLScale); writeIndent(stream); fprintf(stream, "geometry USE CollidableShape%d\n", coordinateCounter); } -- cgit v1.2.3