Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/john/src/3dUnit.h @ 2778

Last change on this file since 2778 was 2035, checked in by john, 20 years ago

Diese Dateien werden für das Importieren von 3ds Modellen gebraucht.
3ds importiert die Daten.
3dUnit enthält die Daten.
3dsStructs definiert einige 3d Variablen

File size: 591 bytes
Line 
1#ifndef _3DUNIT_H
2#define _3DUNIT_H
3
4#include "3dStructs.h"
5
6class C3dUnit
7{
8    private:
9        char sName[9];                /* Name of the unit (=> filename etc. )*/
10        bool b3dModelLoaded;          /* Set if model loaded */
11        void Init();                  /* Sets initial values of variables */       
12        C3dModel CModel;              /* Contains the 3d model data */ 
13    public:
14        C3dUnit( char* );
15        C3dUnit( void );
16        void Import3ds( void );
17        void Draw( int );
18        void PrintProperties( void );       
19};
20
21#endif
Note: See TracBrowser for help on using the repository browser.