2015-05-24 15:17:53 +00:00
|
|
|
#ifndef id73F121AEE1EB4BA0980FAC025E5CDF05
|
|
|
|
#define id73F121AEE1EB4BA0980FAC025E5CDF05
|
|
|
|
|
|
|
|
#include "doorkeeper/components/tileiterator.hpp"
|
|
|
|
|
|
|
|
namespace dkh {
|
|
|
|
template <typename T, typename T1>
|
2015-06-06 11:52:48 +00:00
|
|
|
dk::Vector<2> get_diamond_coordinates ( const dk::TileIterator<T, 2, T1>& parIterator, const dk::Vector<2>& parSize );
|
2015-05-24 15:17:53 +00:00
|
|
|
|
|
|
|
template <typename T, typename T1>
|
2015-06-06 11:52:48 +00:00
|
|
|
dk::Vector<2> get_half_diamond_coordinates ( const dk::TileIterator<T, 2, T1>& parIterator, const dk::Vector<2>& parSize );
|
2015-05-24 15:17:53 +00:00
|
|
|
|
|
|
|
template <typename T, uint32_t D, typename T1>
|
2015-06-06 11:52:48 +00:00
|
|
|
dk::Vector<D> get_square_coordinates ( const dk::TileIterator<T, D, T1>& parIterator, const dk::Vector<D>& parSize );
|
2015-05-24 15:17:53 +00:00
|
|
|
|
|
|
|
template <typename T, typename T1>
|
2015-06-06 11:52:48 +00:00
|
|
|
dk::Vector<2> get_hex_coordinates ( const dk::TileIterator<T, 2, T1>& parIterator, const dk::Vector<2>& parSize );
|
2015-05-24 15:17:53 +00:00
|
|
|
} //namespace dkh
|
|
|
|
|
|
|
|
#include "doorkeeper/implem/tilecoordinates.inl"
|
|
|
|
|
|
|
|
#endif
|