X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FFrustum.cpp;h=f8fb2f51758380d9e169cd464a27715d9c087c80;hb=8afdcba610cded0e54b85069ba051268b29669a6;hp=2641bc3a3c5b0b58ff7dda56e8b20ecab34b3a92;hpb=0cca0c495c7dc29d134a10d7eed5de1f377c99bf;p=lugaru.git diff --git a/Source/Frustum.cpp b/Source/Frustum.cpp index 2641bc3..f8fb2f5 100644 --- a/Source/Frustum.cpp +++ b/Source/Frustum.cpp @@ -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 -#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 +}