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 1.2.15