mirror of
https://github.com/glest/glest-source.git
synced 2025-08-23 00:12:49 +02:00
- more pathfinder in progress changes, nothing to test yet
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user