]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Frustum.cpp
console commands works again.
[lugaru.git] / Source / Frustum.cpp
index 2641bc3a3c5b0b58ff7dda56e8b20ecab34b3a92..f8fb2f51758380d9e169cd464a27715d9c087c80 100644 (file)
@@ -1,7 +1,28 @@
-#include "frustum.h"
+/*
+Copyright (C) 2003, 2010 - Wolfire Games
+
+This file is part of Lugaru.
+
+Lugaru is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+
+See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*/
+
+#include "Frustum.h"
 #include <math.h>
 
-#include "gl.h"
+#include "gamegl.h"
 
 
 void FRUSTUM::
@@ -9,7 +30,6 @@ void FRUSTUM::
        static float projmatrix[16];
        static float mvmatrix[16];
        static float clip[16];
-       static float t;
        
        glGetFloatv(GL_PROJECTION_MATRIX, projmatrix);
        glGetFloatv(GL_MODELVIEW_MATRIX, mvmatrix);
@@ -152,4 +172,4 @@ int FRUSTUM::
                return 2;
        else
                return 1;
-}
\ No newline at end of file
+}