Changeset 2034 in orxonox.OLD for orxonox/branches/john
- Timestamp:
- Jun 23, 2004, 9:35:37 PM (20 years ago)
- Location:
- orxonox/branches/john/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/john/src/player.cc
r1957 r2034 29 29 xCor = yCor = zCor = 0; 30 30 shootLaser = new ShootLaser; 31 shootRocket = new ShootRocket; 31 shootRocket = new ShootRocket; 32 // Loads the 3ds Model, John 33 TestModel.Import3ds(); 32 34 } 33 35 … … 105 107 glTranslatef(xCor, yCor, 3.0); 106 108 glScalef(1.0, 3.0, 1.0); 107 glutWireCube(1.0); 109 // Draws the TestModel as a Wireframe, John 110 TestModel.Draw( GL_LINE_STRIP ); 108 111 glPopMatrix(); 109 112 /* draw all the shoots additionaly */ -
orxonox/branches/john/src/player.h
r1956 r2034 9 9 #include "shoot_rocket.h" 10 10 #include "data_tank.h" 11 /* John */ 12 #include "3dUnit.h" 11 13 12 14 class Player { … … 22 24 23 25 float collisionRadius; 24 26 // Contains the 3d Date, John 27 C3dUnit TestModel; 28 25 29 /* this player wanna shoot? so include a ref to ShootLaser */ 26 30 ShootLaser* shootLaser; … … 37 41 void drawPlayer(void); 38 42 43 39 44 private: 40 45
Note: See TracChangeset
for help on using the changeset viewer.