00001 /* ************************************************************************* 00002 finish.h - description 00003 ------------------- 00004 begin : Wed Oct 15 2002 00005 copyright : (C) 2002 by Micha Riser 00006 email : mriser@gmx.net 00007 00008 $Id: finish_8h-source.html,v 1.1 2005/02/04 21:02:27 micha Exp $ 00009 00010 ************************************************************************* */ 00011 00012 /* ************************************************************************* 00013 * * 00014 * This program is free software; you can redistribute it and/or modify * 00015 * it under the terms of the GNU General Public License as published by * 00016 * the Free Software Foundation; either version 2 of the License, or * 00017 * (at your option) any later version. * 00018 * * 00019 ************************************************************************* */ 00020 00021 #ifndef FINISH_H 00022 #define FINISH_H 00023 00024 #include "types.h" 00025 #include "colour.h" 00026 00032 class Finish { 00033 00034 public: // Public attributes 00035 Colour ambient; 00036 FLT diffuse; 00037 FLT reflection; 00038 FLT phong; 00039 FLT phongsize; 00040 00041 public: // Constructors and destructor 00042 Finish(Colour fambient, FLT fdiffuse, FLT freflection, 00043 FLT fphong, FLT fphongsize): 00044 ambient(fambient), diffuse(fdiffuse), reflection(freflection), 00045 phong(fphong), phongsize(fphongsize) {} 00046 00047 ~Finish() {} 00048 00049 }; 00050 00051 #endif
1.3.8