CPointLight.h Source File

Chapitre 2

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CPointLight.h

00001 
00008 #ifndef __CPOINTLIGHT_H__
00009 #define __CPOINTLIGHT_H__
00010 
00011 #include "CLight.h"
00012 
00013 class CPointLight : public CLight
00014 {       
00015         public:
00016                 // constructeurs et destructeur
00017                 CPointLight() {};
00018                 CPointLight(const CVector3D& position, float diffuseColor, float specularColor, const CColor& color) 
00019                 : CLight(position, diffuseColor, specularColor, color, OMNILIGHT) { }
00020                 virtual ~CPointLight() {};
00021 
00022                 // [hérité de CLight]
00023                 CColor GetLightAt(CVector3D& normal, CVector3D& intersectionPoint, CMaterial* material);
00024 };
00025 
00026 #endif /* #ifndef __CPOINTLIGHT_H__ */

Generated on Fri Apr 19 16:19:34 2002 by doxygen1.2.15