Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2007, 12:21:42 AM (17 years ago)
Author:
rennerc
Message:

i hope i fixed some bugs :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/src/world_entities/projectiles/swarm_projectile.cc

    r10579 r10601  
    6060  //this->trail->setParent( this);
    6161  this->trail->setTexture( "textures/laser.png");
     62 
     63  this->maxVelocity = 300;
     64
     65  this->rotationSpeed = 360;
     66  this->angle = 0;
    6267
    6368
     
    216221
    217222  this->angle += this->rotationSpeed * time;
     223
    218224  while (this->angle > 360)
     225  {
    219226    this->angle -= 360;
     227  }
    220228
    221229  this->lastDir = this->curDir;
Note: See TracChangeset for help on using the changeset viewer.