Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1933 in orxonox.OLD for orxonox/branches/chris/core/shoot_rocket.cc


Ignore:
Timestamp:
Jun 9, 2004, 7:28:00 PM (21 years ago)
Author:
chris
Message:

orxonox/branches/chris: This compiles under windows (at least on my system) !!does not compile under linux!!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/core/shoot_rocket.cc

    r1929 r1933  
    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.