Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

ExCMeshWaterEffect.cpp

Aller à la documentation de ce fichier.
00001 /*
00002  * ExNihilo 3D Engine
00003  * 
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Library General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  *
00018  * Please read AUTHORS file !!!
00019  * 
00020 
00021  *
00022  */
00023 
00024 float lightPosition[] = {0.0f, 60.0f,0.0f, 1.0f};               // Holds our light position
00025 float lightAmbient[]  = {0.5f, 0.5f, 0.5f, 1.0f};               // Ambient light
00026 float lightDiffuse[]  = {10.0f, 10.0f, 10.0f, 1.0f};    // Diffuse light
00027 float lightSpecular[] = {10.0f, 10.0f, 10.0f, 1.0f};    // Specular light
00028 
00029 float floorColor[]        = {1.0f,1.0f,1.0f,0.7f};                      // Floor material color alpha = 0.7f
00030 
00031 
00032 #include "ExCMeshWaterEffect.h"
00033 
00034 ExCMeshWaterEffect::ExCMeshWaterEffect()
00035 {
00036 Guard(ExCMeshWaterEffect::ExCMeshWaterEffect())
00037         SetName("ExCMeshWaterEffect");
00038         SetType(typeid(this).name());
00039         m_CurrentAnimationTexture=0;
00040 UnGuard
00041 }
00042 
00043 ExCMeshWaterEffect::~ExCMeshWaterEffect()
00044 {
00045 Guard(ExCMeshWaterEffect::~ExCMeshWaterEffect())
00046 UnGuard
00047 }
00048 
00049 
00050 void ExCMeshWaterEffect::Draw(void)
00051 {
00052 Guard(void ExCMeshWaterEffect::Draw(void))
00053 if(!m_Visible)return;
00054 UnGuard
00055 }
00056 
00057 bool ExCMeshWaterEffect::Load(std::string FileName)
00058 {
00059 Guard(bool ExCMeshWaterEffect::Load(std::string FileName))
00060 
00061 UnGuard
00062 }
00063 

Généré le Tue Oct 28 12:43:31 2003 pour ExNihilo par doxygen 1.3.4