]> git.tdb.fi Git - libs/gl.git/blobdiff - source/projection.cpp
Style update: add spaces around assignment operators
[libs/gl.git] / source / projection.cpp
index 2c234525ce63e0240bdc891f6d56c29be0484dcd..2cc2833f18c23cc597d78b7aed541c1857cabba2 100644 (file)
@@ -44,7 +44,7 @@ void frustum_centered(double width, double height, double nearr, double farr)
 
 void perspective(double fov_y, double aspect, double nearr, double farr)
 {
-       double hh=tan(fov_y*M_PI/360)*nearr;
+       double hh = tan(fov_y*M_PI/360)*nearr;
        frustum(-hh*aspect, hh*aspect, -hh, hh, nearr, farr);
 }