Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 13, 2005, 9:07:56 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: smooth-rotation is better now
PNODE_MOVEMENT_ROTATE-children are correcly smooth-reparented
some other minor fixes

THIS IS 5000 :)
so
generated the endOfTheWorld-function
implemented de-generic recapitualisation Procedures
imported magnificizer
dezentralized obscurities
some other minor stuff
flush
eliminated deamons

man… i must have to much time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/turret.cc

    r4982 r5000  
    164164  glMatrixMode(GL_MODELVIEW);
    165165  glPushMatrix();
    166   float matrix[4][4];
    167166  glTranslatef (this->getAbsCoor ().x,
    168167                this->getAbsCoor ().y,
    169168                this->getAbsCoor ().z);
    170   this->getAbsDir ().matrix (matrix);
    171   glMultMatrixf((float*)matrix);
     169  Vector tmpRot = this->getAbsDir().getSpacialAxis();
     170  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    172171
    173172  this->model->draw();
Note: See TracChangeset for help on using the changeset viewer.