00001 #ifndef RAY_H
00002 #define RAY_H
00003
00004 #include "ngl/ShaderManager.h"
00005 #include "ngl/TransformStack.h"
00006 #include "ngl/Vector.h"
00007 #include "ngl/Camera.h"
00008
00009
00018
00019 class Ray
00020 {
00021 public :
00025 Ray(
00026 ngl::Vector _start,
00027 ngl::Vector _end
00028 );
00030 inline ngl::Vector getStart() const { return m_start; }
00032 inline ngl::Vector getend() const { return m_end; }
00036 void draw(
00037 const std::string &_shaderName,
00038 ngl::TransformStack &_transformStack
00039 ) const ;
00040 private :
00042 ngl::Vector m_start;
00044 ngl::Vector m_end;
00045
00046
00047 };
00048
00049
00050
00051
00052
00053 #endif // RAY_H