X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=include%2Fitexdef.h;h=9d01847ffb6dbb93bdeea8f263595669cbc4960c;hb=fea0d2e6575b21945c4800805d66e43a2247ded5;hp=a299843bb835c58bff72be3346af107ea63ba53a;hpb=107765f0e4b543dfc346851ee5b4605cc17eb1c6;p=xonotic%2Fnetradiant.git diff --git a/include/itexdef.h b/include/itexdef.h index a299843b..9d01847f 100644 --- a/include/itexdef.h +++ b/include/itexdef.h @@ -1,42 +1,41 @@ /* -Copyright (C) 2001-2006, William Joseph. -All Rights Reserved. + Copyright (C) 2001-2006, William Joseph. + All Rights Reserved. -This file is part of GtkRadiant. + This file is part of GtkRadiant. -GtkRadiant 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. + GtkRadiant 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. -GtkRadiant 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. + GtkRadiant 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 GtkRadiant; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ + You should have received a copy of the GNU General Public License + along with GtkRadiant; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ -#if !defined (INCLUDED_ITEXDEF_H) +#if !defined ( INCLUDED_ITEXDEF_H ) #define INCLUDED_ITEXDEF_H class texdef_t { public: - float shift[2]; - float rotate; - float scale[2]; - - texdef_t() - { - shift[0] = 0; - shift[1] = 0; - rotate = 0; - scale[0] = 1; - scale[1] = 1; - } +float shift[2]; +float rotate; +float scale[2]; + +texdef_t(){ + shift[0] = 0; + shift[1] = 0; + rotate = 0; + scale[0] = 1; + scale[1] = 1; +} }; #endif