Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2006, 3:26:08 PM (18 years ago)
Author:
nicolasc
Message:

update regen(); add new model for hbolt

File:
1 edited

Legend:

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

    r9979 r9987  
    124124  if (this->tickLifeCycle(dt))
    125125    this->deactivate();
     126
     127
    126128}
    127129
     
    144146  glDisable(GL_LIGHTING);
    145147
     148  //glPushMatrix();
     149  //glRotatef(30, 0.0f, 1.0f, 0.0f);
     150
    146151  WorldEntity::draw();
    147152/*  glMatrixMode(GL_MODELVIEW);
     
    156161  glPopMatrix();*/
    157162
     163/*
     164
     165  float matrix[4][4];
     166  glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
     167  this->getAbsDir().matrix (matrix);
     168  glMultMatrixf((float*)matrix);
     169  glRotatef(30, 0.0, 1.0, 0.0);
     170  //glMultMatrixf((float*)matrix);
     171  this->getModel()->draw();*/
     172  //glPopMatrix();
    158173  glPopAttrib();
    159174}
Note: See TracChangeset for help on using the changeset viewer.