Changeset 10218 in orxonox.OLD for branches/camera
- Timestamp:
- Jan 10, 2007, 3:40:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/blackscreen.cc
r10215 r10218 24 24 #include "state.h" 25 25 #include "class_id_DEPRECATED.h" 26 #include <iostream.h> 26 27 27 ObjectListDefinition(blackscreen); 28 28 CREATE_FACTORY(blackscreen); … … 36 36 { 37 37 this->init(); 38 i=0; 39 state=1; 38 40 39 41 40 } … … 51 50 if( root != NULL) 52 51 this->loadParams(root); 53 cout << "JUHU"; 52 i=0; 53 state=1; 54 54 } 55 55 … … 113 113 114 114 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); 119 123 120 124 121 125 glEnd(); 122 126 123 //glPopMatrix();124 //glPopAttrib();127 glPopMatrix(); 128 glPopAttrib(); 125 129 } 126 130
Note: See TracChangeset
for help on using the changeset viewer.