- some in progress pathfinder work

This commit is contained in:
Mark Vejvoda
2012-05-04 21:03:52 +00:00
parent 85f98e8f55
commit 3ff0796bec
9 changed files with 237 additions and 132 deletions

View File

@@ -172,7 +172,7 @@ public:
return x*v.x+y*v.y;
}
float dist(const Vec2<T> &v) const{
inline float dist(const Vec2<T> &v) const{
return Vec2<T>(v-*this).length();
}
@@ -392,7 +392,7 @@ public:
return x*v.x + y*v.y + z*v.z;
}
float dist(const Vec3<T> &v) const{
inline float dist(const Vec3<T> &v) const{
return Vec3<T>(v-*this).length();
}