Changeset 1955 in orxonox.OLD for orxonox/branches/automake/src/shoot_rocket.cc
- Timestamp:
- Jun 15, 2004, 9:48:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/automake/src/shoot_rocket.cc
r1942 r1955 147 147 sh->type = BACKPARABLE; 148 148 sh->xCor = x; sh->yCor = y; sh->zCor = z; 149 sh->xVel = (-1+(float)rand om() / 1000000000/step)/5;149 sh->xVel = (-1+(float)rand() / 1000000000/step)/5; 150 150 sh->yVel = -.3; 151 sh->zVel = (1-(float)rand om() / 1000000000/step)/5;151 sh->zVel = (1-(float)rand() / 1000000000/step)/5; 152 152 sh->xAcc = 0; sh->yAcc = .01/step; sh->zAcc = 0; 153 153 sh->next = lastShoot;
Note: See TracChangeset
for help on using the changeset viewer.