Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 2:20:17 PM (19 years ago)
Author:
nicolasc
Message:

bump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/projectiles/spike_ball.cc

    r10252 r10256  
    5555  this->emitter->setEmissionVelocity(50.0);
    5656
    57   this->speed = 150;
    58 
     57//   this->speed = 150;
     58/*
    5959  this->angle = 0;
    60   this->rotationSpeed = 130;
     60  this->rotationSpeed = 130;*/
     61  this->setRotationSpeed(130);
    6162
    6263  this->halo = new Billboard();
     
    255256//     printf("called by spikeball  ");
    256257//     this->weaponMan->fire();
    257 //     this->blow();
     258    this->blow();
    258259  }
    259260
     
    289290  glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
    290291
    291   glRotatef(angle, this->rotationVector.x, this->rotationVector.y, this->rotationVector.z);
     292  glRotatef(angle, this->getRotationAxis().x, this->getRotationAxis().y, this->getRotationAxis().z);
    292293  this->getAbsDir().matrix (matrix);
    293294  glMultMatrixf((float*)matrix);
Note: See TracChangeset for help on using the changeset viewer.