00001 00002 #ifndef __matter_interface_hpp__ 00003 #define __matter_interface_hpp__ 00004 00005 #include <crbn/basic/basic.h> 00006 #include <crbn/basic/intersection.hpp> 00007 #include <crbn/basic/ray.hpp> 00008 00022 class MatterInterface 00023 { 00024 public: 00025 virtual ~MatterInterface() {} 00026 00030 virtual float eval( uint32 index, intersection& inter, ray& r ) = 0; 00031 }; 00032 00033 #endif // __matter_interface_hpp__