Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/shoot_laser.h @ 1920

Last change on this file since 1920 was 1920, checked in by bensch, 20 years ago

orxonox/trunk: rockets added (in 3D)

File size: 716 bytes
Line 
1
2#ifndef SHOOT_LASER_H
3#define SHOOT_LASER_H
4
5/* openGL Headers */
6#include <GL/glut.h>
7
8#include "stdincl.h"
9#include "data_tank.h"
10
11class ShootLaser {
12
13
14 public:
15 
16  /* a list of all shoot-amental objects */
17  struct shoot {
18    shoot *next;
19    float xCor;
20    float yCor;
21    float zCor;   
22    float xVel;
23    float yVel;
24    float zVel;
25    float collisionRadius;
26  };
27  shoot* lastShoot;
28
29  ShootLaser ();
30  ~ShootLaser ();
31
32  void drawShoot(void);
33  void addShoot(shoot* sh);
34  void addShoot(float x, float y, float z);
35  void addShootExt(float x, float y, float z, float xVel, float yVel, float zVel);
36  void setShootStep(float step);
37  void removeShoot(shoot* sh);
38
39
40 private:
41
42  float step;
43
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.