]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/common/polyset.h
tools: reduce diff noise
[xonotic/netradiant.git] / tools / quake3 / common / polyset.h
index 459fde122b38a01e76813cf2dfb347211ea199f3..089d0e6c55d0aed0857b0961e72fa3ee25fe3a04 100644 (file)
@@ -1,51 +1,51 @@
-/*\r
-Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
-For a list of contributors, see the accompanying CONTRIBUTORS file.\r
-\r
-This file is part of GtkRadiant.\r
-\r
-GtkRadiant is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-GtkRadiant is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with GtkRadiant; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
-*/\r
-\r
-#ifndef __POLYSET_H__\r
-#define __POLYSET_H__\r
-\r
-#define POLYSET_MAXTRIANGLES   4096\r
-#define POLYSET_MAXPOLYSETS            64\r
-\r
-typedef float st_t[2];\r
-typedef float rgb_t[3];\r
-\r
-typedef struct {\r
-       vec3_t  verts[3];\r
-       vec3_t  normals[3];\r
-       st_t    texcoords[3];\r
-} triangle_t;\r
-\r
-typedef struct\r
-{\r
-       char name[100];\r
-       char materialname[100];\r
-       triangle_t *triangles;\r
-       int numtriangles;\r
-} polyset_t;\r
-\r
-polyset_t *Polyset_LoadSets( const char *file, int *numpolysets, int maxTrisPerSet );\r
-polyset_t *Polyset_CollapseSets( polyset_t *psets, int numpolysets );\r
-polyset_t *Polyset_SplitSets( polyset_t *psets, int numpolysets, int *pNumNewPolysets, int maxTris );\r
-void Polyset_SnapSets( polyset_t *psets, int numpolysets );\r
-void Polyset_ComputeNormals( polyset_t *psets, int numpolysets );\r
-\r
-#endif\r
+/*
+   Copyright (C) 1999-2007 id Software, Inc. and contributors.
+   For a list of contributors, see the accompanying CONTRIBUTORS file.
+
+   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 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
+ */
+
+#ifndef __POLYSET_H__
+#define __POLYSET_H__
+
+#define POLYSET_MAXTRIANGLES    4096
+#define POLYSET_MAXPOLYSETS     64
+
+typedef float st_t[2];
+typedef float rgb_t[3];
+
+typedef struct {
+       vec3_t verts[3];
+       vec3_t normals[3];
+       st_t texcoords[3];
+} triangle_t;
+
+typedef struct
+{
+       char name[100];
+       char materialname[100];
+       triangle_t *triangles;
+       int numtriangles;
+} polyset_t;
+
+polyset_t *Polyset_LoadSets( const char *file, int *numpolysets, int maxTrisPerSet );
+polyset_t *Polyset_CollapseSets( polyset_t *psets, int numpolysets );
+polyset_t *Polyset_SplitSets( polyset_t *psets, int numpolysets, int *pNumNewPolysets, int maxTris );
+void Polyset_SnapSets( polyset_t *psets, int numpolysets );
+void Polyset_ComputeNormals( polyset_t *psets, int numpolysets );
+
+#endif