Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/src/libraries/tools/bsp/Q3Map_misc.h @ 9215

Last change on this file since 9215 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1/*
2===========================================================================
3Copyright (C) 2008 Daniel Örstadius
4Copyright (C) 2009 Jared Prince
5
6This file is part of bsp-renderer source code.
7
8bsp-renderer is free software: you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation, either version 3 of the License, or
11(at your option) any later version.
12
13bsp-renderer is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with bsp-renderer.  If not, see <http://www.gnu.org/licenses/>.
20
21*/
22
23// misc.h -- various definitions and functions
24
25#ifndef _MISC_H
26#define _MISC_H
27
28#define DELETE_POINTER(x) if(x) { delete x              ; x=0 ; }
29#define DELETE_ARRAY(x)         if(x) { delete [] x ; x=0 ; }
30
31typedef float QVECTOR[3];
32
33#endif /* _MISC_H */
Note: See TracBrowser for help on using the repository browser.