src/proto2/Dimension.cc
author terom
Mon, 10 Nov 2008 16:49:09 +0000
branchno-netsession
changeset 31 d0d7489d4e8b
parent 24 b81cb670e6b2
permissions -rw-r--r--
add initial code written so far
#include "Dimension.hh"

std::ostream& operator<< (std::ostream &s, const Coordinate &c) {
    s << "(" << c.x << ", " << c.y << ")";

    return s;
}

std::ostream& operator<< (std::ostream &s, const PositionDelta &c) {
    s << "(" << c.dx << ", " << c.dy << ")";

    return s;
}