- more pathfinder in progress changes, nothing to test yet

This commit is contained in:
Mark Vejvoda
2012-05-05 04:38:49 +00:00
parent 3ff0796bec
commit f79222defa
5 changed files with 33 additions and 12 deletions

View File

@@ -20,6 +20,9 @@
#include <stdexcept>
#include <stdlib.h>
#include <stdio.h>
//#include <tr1/unordered_map>
//using namespace std::tr1;
#include "leak_dumper.h"
namespace Shared{ namespace Graphics{
@@ -102,6 +105,15 @@ public:
this->y= y;
}
//template<typename S>
//size_t operator()(const Vec2<S> &v) const {
// return hash<T>()(v.x) ^ hash<T>()(v.y);
//}
//template<typename S>
//bool operator()(const Vec2<S> &a, const Vec2<S> &b) const {
// return a == b;
//}
T *ptr(){
return reinterpret_cast<T*>(this);
}