00001 /*************************************************************************** 00002 glbaseparameters.h - description 00003 ------------------- 00004 begin : Sat Mar 26 2005 00005 copyright : (C) 2005-2006 by Ben Swerts 00006 email : bswerts@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00020 00021 #ifndef GLBASEPARAMETERS_H 00022 #define GLBASEPARAMETERS_H 00023 00025 00026 // Qt forward class declarations 00027 //class QColor; 00028 00029 // Qt header files 00030 #include <qgl.h> 00031 00033 struct GLBaseParameters 00036 { 00037 GLfloat lightPositionX; 00038 GLfloat lightPositionY; 00039 GLfloat lightPositionZ; 00040 //change needed for compilation under MSVC .NET 2002 (should be fixed in .NET 2003) 00041 //QColor lightColor; 00042 unsigned int lightColor; 00043 GLfloat materialSpecular; 00044 GLfloat materialShininess; 00045 //QColor backgroundColor; 00046 unsigned int backgroundColor; 00047 bool antialias; 00048 bool smoothShading; 00049 bool depthCue; 00050 bool perspectiveProjection; 00051 }; 00052 00053 #endif 00054