YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
WorldDrawingPolicy.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Graphics/Game/World/WorldDrawingPolicy.hpp
"
2
3
namespace
yap
4
{
5
WorldDrawingPolicy::WorldDrawingPolicy
()
6
{
7
}
8
9
WorldDrawingPolicy::~WorldDrawingPolicy
()
10
{
11
}
12
13
Vector2
WorldDrawingPolicy::ToScreenPosition
(
14
const
Vector3
& worldPosition)
const
15
{
16
return
HandleToScreenPosition
(worldPosition);
17
}
18
19
Vector2
WorldDrawingPolicy::ToScreenOffset
(
20
const
Vector3
& worldOffset)
const
21
{
22
return
ToScreenPosition
(worldOffset) -
ToScreenPosition
(
VECTOR3_ZERO
);
23
}
24
25
float
WorldDrawingPolicy::GetComparisonPoint
(
26
const
ISpatial3
& spatial)
const
27
{
28
return
HandleGetComparisonPoint
(spatial);
29
}
30
}
// namespace yap
YAPOG
src
YAPOG
Graphics
Game
World
WorldDrawingPolicy.cpp
Generated on Mon Sep 17 2012 22:24:25 for YAPOG by
1.8.1.1