-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3dRes.h
72 lines (59 loc) · 1.21 KB
/
3dRes.h
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
/*****************************************************************************
* File: 3dRsources.h
*
* © 1989 Mark M. Owen. All rights reserved.
*
*****************************************************************************
*/
#ifndef _3dResources_
#define _3dResources_
#if (XVTWS != XOLWS)
#include "3dHier.h"
#endif
#define CLCT "CLCT"
#define GRUP "GRUP"
#define PACH "PACH"
#define FACT "FACT"
#define PVRT "PVRT"
typedef struct
{
short nG;
short *idG;
} CLCT_res,*pCLCT_res,**hCLCT_res;
typedef struct
{
short nP;
short *idP;
} GRUP_res,*pGRUP_res,**hGRUP_res;
typedef struct
{
BOOLEAN instanced;
Matrix3D xf;
RendAttr RA;
} PTCH_res,*pPTCH_res,**hPTCH_res;
typedef struct
{
short nV;
Vrtx *V;
} PVRT_res,*pPVRT_res,**hPVRT_res;
typedef struct
{
short nF;
Facet *F;
} FACT_res,*pFACT_res,**hFACT_res;
#if XVT_CC_PROTO
int WriteCollection (pCollection, char*, int);
int WriteGroup (pGroup, char*, int);
int WritePatch (pPatch, char*, int);
pCollection GetCollection (int, char*);
pGroup GetGroup (int, char*);
int GetPatch (pGroup, int, int);
#else
int WriteCollection ();
int WriteGroup ();
int WritePatch ();
pCollection GetCollection ();
pGroup GetGroup ();
int GetPatch ();
#endif
#endif