#pragma once #include namespace cgv { namespace media { /** * A simple ray data structure for arbitrary dimensions. The ray is defined by its origin point and a direction. */ template class ray { public: cgv::math::vec origin; cgv::math::vec direction; ray() { } ///create a ray ray(const cgv::math::vec& o,const cgv::math::vec &d) { origin=o; direction=d; } }; } }