YAPOG  0.0.1
Yet Another Pokemon Online Game
IWorldDrawingPolicy.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_IWORLDDRAWINGPOLICY_HPP
2 # define YAPOG_IWORLDDRAWINGPOLICY_HPP
3 
4 # include "YAPOG/Macros.hpp"
6 
7 namespace yap
8 {
9  struct ISpatial3;
10 
13  {
14  virtual ~IWorldDrawingPolicy () { }
15 
17  virtual Vector2 ToScreenPosition (
18  const Vector3& worldPosition) const = 0;
19 
20  virtual Vector2 ToScreenOffset (
21  const Vector3& worldOffset) const = 0;
22 
23  virtual float GetComparisonPoint (
24  const ISpatial3& spatial) const = 0;
25  };
26 } // namespace yap
27 
28 #endif // YAPOG_IWORLDDRAWINGPOLICY_HPP