X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FScene.hh;h=316f25b14d76d7f380586b815a025776f21caaf8;hp=f9963e85dd0ea1e7567a5fd7e63f08daec01e47f;hb=7e84479de612a4ce287c6f63deb014b447a993ec;hpb=a723e23ca2d32e8eed32f9c53323afbbedba575b diff --git a/src/Scene.hh b/src/Scene.hh index f9963e8..316f25b 100644 --- a/src/Scene.hh +++ b/src/Scene.hh @@ -29,6 +29,7 @@ #ifndef _SCENE_HH_ #define _SCENE_HH_ +#include #include #include @@ -66,6 +67,8 @@ public: Mf::Scalar getZCoord(const Mf::Vector2& position) const; + bool castRay(const Mf::Ray<2>& ray, + std::list::Intersection>& hits) const; bool checkForCollision(Character& character); static std::string getPath(const std::string& name);