YAPOG  0.0.1
Yet Another Pokemon Online Game
RegularWorldDrawingPolicy.cpp
Go to the documentation of this file.
3 
4 namespace yap
5 {
8  {
9  }
10 
12  {
13  }
14 
16  const Vector3& worldPosition) const
17  {
18  return Vector2 (
19  worldPosition.x,
20  worldPosition.y - worldPosition.z * 32.0f);
21  }
22 
24  const ISpatial3& spatial) const
25  {
26  return spatial.GetBottomRight ().y;
27  }
28 } // namespace yap