Changeset 4374 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- May 29, 2005, 11:24:12 AM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/graphics_engine.cc
r4320 r4374 170 170 this->setResolution(this->resolutionX, this->resolutionY, this->bitsPerPixel); 171 171 } 172 173 void GraphicsEngine::setBackgroundColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) 174 { 175 glClearColor(red, green, blue, alpha); 176 } 177 172 178 173 179 /** -
orxonox/trunk/src/lib/graphics/graphics_engine.h
r4245 r4374 27 27 int setResolution(int width, int height, int bpp); 28 28 void setFullscreen(bool fullscreen = false); 29 static void setBackgroundColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha = 1.0); 30 29 31 /** \returns the x resolution */ 30 32 inline int getResolutionX(void) {return this->resolutionX;}
Note: See TracChangeset
for help on using the changeset viewer.