CLight class Reference

Chapitre 2

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CLight Class Reference

Classe de base lumiére. More...

#include <CLight.h>

Inheritance diagram for CLight:

Inheritance graph
[legend]
Collaboration diagram for CLight:

Collaboration graph
[legend]
List of all members.

Public Methods

 CLight ()
 CLight (CVector3D position, float diffuseColor, float specularColor, CColor color, int type)
virtual ~CLight ()
__forceinline const CVector3DGetPosition () const
__forceinline const CColorGetColor () const
__forceinline int GetType () const
bool IntersectsNode (const CRay &ray, CIntersectInfo *intersectInfo=NULL)
virtual CColor GetLightAt (CVector3D &normal, CVector3D &intersectionPoint, CMaterial *material)=0

Protected Attributes

float mDiffuseColor
float mSpecularColor
CVector3D mPosition
CColor mColor
int mLightType

Detailed Description

Classe de base lumiére.

Author:
Benoît Lemaire (aka DaRkWoLf)
Date:
19/04/2002


The documentation for this class was generated from the following file:
Generated on Fri Apr 19 16:19:35 2002 by doxygen1.2.15