CIntersectInfo.h Source File

Chapitre 2

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CIntersectInfo.h

00001 
00007 #ifndef __CINTERSECTINFO_H__
00008 #define __CINTERSECTINFO_H__
00009 
00010 #include "UtilityLib.h"
00011 #include "stdlib.h"
00012 
00013 // forward declarations
00014 class CScene;
00015 class CNode;
00016 class CMaterial;
00017                                   
00018 // information sur l'intersection
00019 class CIntersectInfo
00020 {
00021         public:
00022                 CVector3D               mIntersection;  // Position de l'intersection   
00023                 CVector3D               mNormal;                // Normale au point d'intersection
00024                 CNode                   *mNode;                 // Node touchée par l'intersection
00025                 CMaterial               *mMaterial;             // Material au point d'intersection
00026 
00027                 // constructeurs et destructeur
00028                 CIntersectInfo() : mNode(NULL) {}
00029                 virtual ~CIntersectInfo() {}
00030 };
00031 
00032 #endif /* #ifndef __CINTERSECTINFO_H__ */

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