Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10218 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 3:40:27 PM (18 years ago)
Author:
gfilip
Message:

here it comes

File:
1 edited

Legend:

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

    r10215 r10218  
    2424#include "state.h"
    2525#include "class_id_DEPRECATED.h"
    26 #include <iostream.h>
     26
    2727ObjectListDefinition(blackscreen);
    2828CREATE_FACTORY(blackscreen);
     
    3636{
    3737  this->init();
    38   i=0;
    39   state=1;
     38
    4039
    4140}
     
    5150  if( root != NULL)
    5251    this->loadParams(root);
    53   cout << "JUHU";
     52  i=0;
     53  state=1;
    5454}
    5555
     
    113113
    114114  glBegin(GL_QUADS);
    115     glVertex3f(-1.0f, -100.0f, -100.0f);
    116     glVertex3f(-1.0f, -100.0f, 100.0f);
    117     glVertex3f(-1.0f, 100.0f, 100.0f);
    118     glVertex3f(-1.0f, 100.0f, -100.0f);
     115  glVertex3f(State::getCameraNode()->getAbsCoorX()+500,State::getCameraNode()->getAbsCoorY() -100.0f,
     116             State::getCameraNode()->getAbsCoorZ()-100.0f);
     117  glVertex3f(State::getCameraNode()->getAbsCoorX()+500, State::getCameraNode()->getAbsCoorY()-100.0f,
     118             State::getCameraNode()->getAbsCoorZ()+100.0f);
     119  glVertex3f(State::getCameraNode()->getAbsCoorX()+500, State::getCameraNode()->getAbsCoorY() +100.0f,
     120             State::getCameraNode()->getAbsCoorZ()+100.0f);
     121  glVertex3f(State::getCameraNode()->getAbsCoorX()+500, State::getCameraNode()->getAbsCoorY()+100.0f,
     122             State::getCameraNode()->getAbsCoorZ()-100.0f);
    119123
    120124
    121125  glEnd();
    122126
    123  // glPopMatrix();
    124  // glPopAttrib();
     127  glPopMatrix();
     128  glPopAttrib();
    125129}
    126130
Note: See TracChangeset for help on using the changeset viewer.