Fix a few issues reported by coverity scan.

This commit is contained in:
Brecht Van Lommel
2013-09-03 22:39:21 +00:00
parent b314209356
commit 60e5abe71f
16 changed files with 54 additions and 30 deletions

View File

@@ -52,6 +52,7 @@ Camera::Camera()
width = 1024;
height = 512;
resolution = 1;
viewplane.left = -((float)width/(float)height);
viewplane.right = (float)width/(float)height;