Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2004, 9:48:51 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/automake: now it should compile on windows. random→rand, glut→glut32

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/automake/src/shoot_rocket.cc

    r1942 r1955  
    147147  sh->type = BACKPARABLE;
    148148  sh->xCor = x; sh->yCor = y; sh->zCor = z;
    149   sh->xVel = (-1+(float)random() / 1000000000/step)/5;
     149  sh->xVel = (-1+(float)rand() / 1000000000/step)/5;
    150150  sh->yVel = -.3;
    151   sh->zVel = (1-(float)random() / 1000000000/step)/5;
     151  sh->zVel = (1-(float)rand() / 1000000000/step)/5;
    152152  sh->xAcc = 0; sh->yAcc = .01/step; sh->zAcc = 0;
    153153  sh->next = lastShoot;
Note: See TracChangeset for help on using the changeset viewer.