summaryrefslogtreecommitdiff
path: root/common/camera.cpp
diff options
context:
space:
mode:
authorleo2000-11-15 01:52:44 +0000
committerleo2000-11-15 01:52:44 +0000
commit09746a951bb47ab3813f2fda9cf48444aca372b9 (patch)
treee4b94ea4858559d07efc0fdf8bc45018f995d52a /common/camera.cpp
parentec77f06c40c9e0986e82096105bd9f90d0c4a46b (diff)
fix VC++ warnings/errors
git-svn-id: http://svn.leocad.org/trunk@163 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'common/camera.cpp')
-rw-r--r--common/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/camera.cpp b/common/camera.cpp
index 28ef716..64c0b98 100644
--- a/common/camera.cpp
+++ b/common/camera.cpp
@@ -592,7 +592,7 @@ void Camera::Render(float fLineWidth)
modelview.Invert ();
glMultMatrixf (modelview.m);
- projection.CreatePerspective (m_fovy, 1.33f, 0.01, len);
+ projection.CreatePerspective (m_fovy, 1.33f, 0.01f, len);
projection.Invert ();
glMultMatrixf (projection.m);