X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FFrustum.cpp;h=f8fb2f51758380d9e169cd464a27715d9c087c80;hb=8afdcba610cded0e54b85069ba051268b29669a6;hp=f3ab44ed9f1c91a960389e66aaf3456b203fd302;hpb=8562aa5bebc97ea8a61d056aec3847030c6985b7;p=lugaru.git diff --git a/Source/Frustum.cpp b/Source/Frustum.cpp index f3ab44e..f8fb2f5 100644 --- a/Source/Frustum.cpp +++ b/Source/Frustum.cpp @@ -1,3 +1,24 @@ +/* +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 @@ -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 +}