--- a/src/core/model/vector.cc Fri May 13 14:51:51 2011 -0400
+++ b/src/core/model/vector.cc Fri May 13 14:52:27 2011 -0400
@@ -26,7 +26,7 @@
ATTRIBUTE_HELPER_CPP (Vector3D);
ATTRIBUTE_HELPER_CPP (Vector2D);
- // compatibility for mobility code
+// compatibility for mobility code
Ptr<const AttributeChecker> MakeVectorChecker (void)
{
return MakeVector3DChecker ();
@@ -37,25 +37,29 @@
: x (_x),
y (_y),
z (_z)
-{}
+{
+}
Vector3D::Vector3D ()
: x (0.0),
y (0.0),
z (0.0)
-{}
+{
+}
Vector2D::Vector2D (double _x, double _y)
: x (_x),
y (_y)
-{}
+{
+}
Vector2D::Vector2D ()
: x (0.0),
y (0.0)
-{}
+{
+}
-double
+double
CalculateDistance (const Vector3D &a, const Vector3D &b)
{
double dx = b.x - a.x;