]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Math/Frustum.cpp
Applied clang-format on all files
[lugaru.git] / Source / Math / Frustum.cpp
index e8b13666a977477f748809893a3cc3d85a859687..516b9ce65ffb38da79a1b2457bcdf530dca01830 100644 (file)
@@ -25,7 +25,7 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #include <math.h>
 
 void FRUSTUM::
-GetFrustum()
+    GetFrustum()
 {
     static float projmatrix[16];
     static float mvmatrix[16];
@@ -93,7 +93,7 @@ GetFrustum()
 }
 
 int FRUSTUM::
-CubeInFrustum(float x, float y, float z, float size)
+    CubeInFrustum(float x, float y, float z, float size)
 {
     static int c, c2;
 
@@ -127,7 +127,7 @@ CubeInFrustum(float x, float y, float z, float size)
 }
 
 int FRUSTUM::
-CubeInFrustum(float x, float y, float z, float size, float height)
+    CubeInFrustum(float x, float y, float z, float size, float height)
 {
     static int c, c2;
 
@@ -161,9 +161,9 @@ CubeInFrustum(float x, float y, float z, float size, float height)
 }
 
 int FRUSTUM::
-SphereInFrustum(float x, float y, float z, float radius)
+    SphereInFrustum(float x, float y, float z, float radius)
 {
-    static int  c2;
+    static int c2;
 
     for (int i = 0; i < 6; i++) {
         if (frustum[i][0] * x + frustum[i][1] * y + frustum[i][2] * z + frustum[i][3] > -1 * radius)