summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorleo2009-02-11 06:47:04 +0000
committerleo2009-02-11 06:47:04 +0000
commit4ea1acc83c83d2e9db163b50e02ae4ff2d07df6b (patch)
tree8badf6231f28fbec97cd0d84fc78a3876e4155b2 /common
parent0a0e0ce0b268c4d794ec905be01276419f9b545f (diff)
Compile fix.
git-svn-id: http://svn.leocad.org/tags/leocad-0.75@736 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common')
-rw-r--r--common/project.cpp8
1 files changed, 4 insertions, 4 deletions
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);
}