diff options
Diffstat (limited to 'q3map/mesh.h')
-rwxr-xr-x | q3map/mesh.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/q3map/mesh.h b/q3map/mesh.h index 06f5684..ee338d4 100755 --- a/q3map/mesh.h +++ b/q3map/mesh.h @@ -19,30 +19,30 @@ along with Foobar; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -
-// mesh.h
-
-
-typedef struct {
- int width, height;
- drawVert_t *verts;
-} mesh_t;
-
-#define MAX_EXPANDED_AXIS 128
-
-extern int originalWidths[MAX_EXPANDED_AXIS];
-extern int originalHeights[MAX_EXPANDED_AXIS];
-
-void FreeMesh( mesh_t *m );
-mesh_t *CopyMesh( mesh_t *mesh );
-void PrintMesh( mesh_t *m );
-mesh_t *TransposeMesh( mesh_t *in );
-void InvertMesh( mesh_t *m );
-mesh_t *SubdivideMesh( mesh_t in, float maxError, float minLength );
-mesh_t *SubdivideMeshQuads( mesh_t *in, float minLength, int maxsize, int widthtable[], int heighttable[]);
-mesh_t *RemoveLinearMeshColumnsRows( mesh_t *in );
-void MakeMeshNormals( mesh_t in );
-void PutMeshOnCurve( mesh_t in );
-
-
-void MakeNormalVectors (vec3_t forward, vec3_t right, vec3_t up);
+ +// mesh.h + + +typedef struct { + int width, height; + drawVert_t *verts; +} mesh_t; + +#define MAX_EXPANDED_AXIS 128 + +extern int originalWidths[MAX_EXPANDED_AXIS]; +extern int originalHeights[MAX_EXPANDED_AXIS]; + +void FreeMesh( mesh_t *m ); +mesh_t *CopyMesh( mesh_t *mesh ); +void PrintMesh( mesh_t *m ); +mesh_t *TransposeMesh( mesh_t *in ); +void InvertMesh( mesh_t *m ); +mesh_t *SubdivideMesh( mesh_t in, float maxError, float minLength ); +mesh_t *SubdivideMeshQuads( mesh_t *in, float minLength, int maxsize, int widthtable[], int heighttable[]); +mesh_t *RemoveLinearMeshColumnsRows( mesh_t *in ); +void MakeMeshNormals( mesh_t in ); +void PutMeshOnCurve( mesh_t in ); + + +void MakeNormalVectors (vec3_t forward, vec3_t right, vec3_t up); |