aux.h
3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/******************************************************************************\
Copyright 1995 The University of North Carolina at Chapel Hill.
All Rights Reserved.
Permission to use, copy, modify and distribute this software and its
documentation for educational, research and non-profit purposes, without
fee, and without a written agreement is hereby granted, provided that the
above copyright notice and the following three paragraphs appear in all
copies.
IN NO EVENT SHALL THE UNIVERSITY OF NORTH CAROLINA
AT CHAPEL HILL BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL,
INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING
OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE
UNIVERSITY OF NORTH CAROLINA HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
THE UNIVERSITY OF NORTH CAROLINA SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HERUNDER IS
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF NORTH CAROLINA HAS NO OBLIGATIONS
TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
The author may be contacted via:
US Mail: Mike Goslin
Department of Computer Science
Sitterson Hall, CB #3175
University of N. Carolina
Chapel Hill, NC 27599-3175
Phone: (919)962-1719
EMail: goslin@cs.unc.edu
*******************************************************************************/
/*******************************************************************************
* FILENAME: aux.h
* DESCRIPTION: Auxiliary data structure for information not contained in the
* MultiGen Flight data structures
* AUTHOR: Mike Goslin
* CREATED: 2/20/95
* REVISIONS:
*
*******************************************************************************/
#ifndef _AUX_H_
#define _AUX_H_
#include "flt14_1.h"
typedef struct {
mgMatrix matrix;
mgBbox bbox;
mgComment *comment; // Can have variable length
mgLongID *id; // Can have variable length
} beadAux;
typedef struct {
mgMatrix *matrix;
mgBbox *bbox;
mgComment *comment; // Can have variable size
mgLongID *id; // Can have variable length
long numobj; // Number of objects
long numpoly; // Number of polygons
long numvert; // Number of vertices
} groupAux;
typedef struct {
mgMatrix *matrix;
mgBbox *bbox;
mgComment *comment; // Can have variable size
mgLongID *id; // Can have variable length
long numpoly; // Number of polygons
long numvert; // Number of vertices
} objectAux;
typedef struct {
mgMatrix *matrix;
mgBbox *bbox;
mgComment *comment; // Can have variable size
mgLongID *id; // Can have variable length
long numvert; // Number of vertices
} polygonAux;
typedef struct {
mgMatrix matrix;
mgBbox bbox;
mgComment *comment; // Can have variable size
mgLongID *id; // Can have variable length
} vertexAux;
#endif