ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
X3DBuffer.h
Go to the documentation of this file.
1
/* @(#)root/g3d:$Id$ */
2
/* Author: Nenad Buncic 13/12/95*/
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_X3DBuffer
13
#define ROOT_X3DBuffer
14
15
typedef
struct
_x3d_data_ {
16
int
numPoints;
17
int
numSegs;
18
int
numPolys;
19
float
*points;
/* x0, y0, z0, x1, y1, z1, ..... ..... .... */
20
int
*segs;
/* c0, p0, q0, c1, p1, q1, ..... ..... .... */
21
int
*polys;
/* c0, n0, s0, s1, ... sn, c1, n1, s0, ... sn */
22
} X3DBuffer;
23
24
typedef
struct
_x3d_sizeof_ {
25
int
numPoints;
26
int
numSegs;
27
int
numPolys;
28
} Size3D;
29
30
#ifdef __cplusplus
31
extern
"C"
int
AllocateX3DBuffer ();
32
extern
"C"
void
FillX3DBuffer (X3DBuffer *buff);
33
extern
"C"
Size3D* gFuncSize3D();
34
#else
35
extern
int
AllocateX3DBuffer ();
36
extern
void
FillX3DBuffer (X3DBuffer *buff);
37
extern
Size3D* gFuncSize3D();
38
#endif
39
40
#define gSize3D (*gFuncSize3D())
41
42
#endif
graf3d
g3d
inc
X3DBuffer.h
Generated on Tue May 5 2020 14:02:39 for ROOT by
1.8.5