1 
2 #ifndef WIDGET_3D_H
3 #define WIDGET_3D_H
4 
5 #ifdef USING_MATRIXLIB
6 #include "matrix.h"
7 void CMatrixToSurface(const char *ident, int surf_width, int surf_height, Matrix *x, Matrix *offset, double scale);
8 #endif
9 
10 CWidget * CRedraw3DObject (const char *ident, int force);
11 
12 CWidget * CDraw3DObject (const char *identifier, Window parent, int x, int y,
13 	       int width, int height, int defaults, int max_num_surfaces);
14 
15 
16 void CInitSurfacePoints (const char *ident, int width, int height, TD_Point data[]);
17 
18 void CClearAllSurfaces(const char *ident);
19 
20 void render_3d_object (CWidget *wdt, int x, int y, int rendw, int rendh);
21 
22 #endif
23 
24