Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2007, 7:44:44 PM (18 years ago)
Author:
gfilip
Message:

finito

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/blackscreen.cc

    r10348 r10352  
    9696  glPushAttrib(GL_ENABLE_BIT);
    9797  glDisable(GL_LIGHTING);
     98  glEnable(GL_BLEND);   // Turn Blending On
     99
     100  glMatrixMode(GL_MODELVIEW);
    98101  glPushMatrix();
    99   glEnable(GL_BLEND);   // Turn Blending On
     102  /* translate */
     103  glTranslatef (this->getAbsCoor ().x,
     104                this->getAbsCoor ().y,
     105                this->getAbsCoor ().z);
     106  Vector tmpRot = this->getAbsDir().getSpacialAxis();
     107  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    100108
    101109this->material->setTransparency(i);
Note: See TracChangeset for help on using the changeset viewer.