YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
"
5
# include "
YAPOG/Graphics/Vector2.hpp
"
6
7
namespace
yap
8
{
9
struct
ISpatial3;
10
12
struct
IWorldDrawingPolicy
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
YAPOG
include
YAPOG
Graphics
Game
World
IWorldDrawingPolicy.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1