X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FFrustum.h;h=da9a4455288398afbcc745827086c07dd468693f;hb=fa2ead2f5252e9061cc7a7ac5d5d25f4445f6ad5;hp=7f96db86608ea726e3015eda03748b35a0963725;hpb=44146d06c780d3aaa283672fedb08b8870ebe1b9;p=lugaru.git diff --git a/Source/Frustum.h b/Source/Frustum.h index 7f96db8..da9a445 100644 --- a/Source/Frustum.h +++ b/Source/Frustum.h @@ -10,7 +10,7 @@ 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. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -22,13 +22,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef FRUSTUM_H #define FRUSTUM_H -class FRUSTUM { +class FRUSTUM +{ public: - float frustum[6][4]; - void GetFrustum(); - int CubeInFrustum(float, float, float, float); - int CubeInFrustum(float, float, float, float, float); - int SphereInFrustum(float, float, float, float); + float frustum[6][4]; + void GetFrustum(); + int CubeInFrustum(float, float, float, float); + int CubeInFrustum(float, float, float, float, float); + int SphereInFrustum(float, float, float, float); }; #endif