00001 00002 00003 00004 00005 // ChangeLog 00006 // September 16, 2004 - Bruno de Oliveira Schneider 00007 // - Code typing has been cleaned. DoxyGen documentation started. 00008 // - Removed "vp" prefix from every method name. 00009 // - Removed "location" attribute because it was added to VPLight. 00010 // - Removed the methods: SetLocation, GetLocation. 00011 // March 08, 2001 - Isabel H. Manssour 00012 // - Constructor declaration addition. 00013 // August 10, 2000 - Anderson Maciel 00014 // - Classes declaration and methods addition. 00015 // June 19, 2000 - Rodrigo Berggevist Martins 00016 // - Classes declaration. 00017 // - Constructors and some methods implementation. 00018 // June 08, 2000 - Luciana Porcher Nedel 00019 // - Classes declaration. 00020 // May 22, 2000 - Isabel Harb Manssour 00021 // - Classes declaration. 00022 00023 #include "vppointlight.h" 00024 00025 VPPointLight::VPPointLight(VPVector3D a, VPPoint4D l){ 00026 attenuation=a; 00027 location=l; 00028 } 00029 00030 void VPPointLight::SetAttenuation(VPVector3D a){ 00031 attenuation=a; 00032 } 00033 00034 VPVector3D VPPointLight::vpGetAttenuation(){ 00035 return(attenuation); 00036 }