source: golgotha/src/maxtool/sdk_inc/patchcap.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 12 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1/**********************************************************************
2 *<
3        FILE: patchcap.h
4
5        DESCRIPTION:  Patch Capping header file
6
7        CREATED BY: Tom Hudson
8
9        HISTORY: created 21 December, 1995
10
11 *>     Copyright (c) 1995, All Rights Reserved.
12 **********************************************************************/
13
14#ifndef __PATCHCAP_H__
15
16#define __PATCHCAP_H__
17
18// This uses the linked-list class templates
19#include "linklist.h"
20
21class PatchSeg {
22        public:
23                int vert;
24                int vec1;
25                int vec2;
26                PatchSeg() {}
27                PatchSeg(int v, int v1, int v2) { vert=v; vec1=v1; vec2=v2; }
28        };
29
30MakeLinkedList(PatchSeg);       // Creates PatchSegList
31MakeLinkedList(PatchSegList);   // Creates PatchSegListList
32
33MakeLinkedList(Patch);          // Creates PatchList
34MakeLinkedList(PatchVert);      // Creates PatchVertList
35MakeLinkedList(PatchVec);       // Creates PatchVecList
36
37class PatchCapWork {
38        public:
39                PatchSegListList plist;
40                PatchVertList newVerts;
41                PatchVecList newVecs;
42                PatchList newPatches;
43                CoreExport void Dump(char *title = NULL);
44        };
45
46#endif // __PATCHCAP_H__
Note: See TracBrowser for help on using the repository browser.