From 02f1528ce4e443e5ce78eb8020e78e5ade976882 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Mon, 24 Sep 2012 17:17:48 -0400 Subject: removed unused barrier variable and it's commented calls, removed unused commented methods from FlyObject --- fly-tools/FlyObject.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'fly-tools/FlyObject.cpp') diff --git a/fly-tools/FlyObject.cpp b/fly-tools/FlyObject.cpp index d6cbee3..fa9d30e 100644 --- a/fly-tools/FlyObject.cpp +++ b/fly-tools/FlyObject.cpp @@ -10,7 +10,6 @@ #include "FlyObject.h" FlyObject::FlyObject(int area, pair centroid, pair majorAxisEV, pair velocityV,bool headIsInDirectionMAEV, pair head, double speed) { -//FlyObject::FlyObject(int area, pair centroid, pair majorAxisEV, pair velocityV, vector > areaCoord) { this->area = area; this->centroid = centroid; this->majorAxisEV = majorAxisEV; @@ -18,7 +17,6 @@ FlyObject::FlyObject(int area, pair centroid, pair majo this->headIsInDirectionMAEV = headIsInDirectionMAEV; this->head = head; this->speed = speed; -// this->areaCoord = areaCoord; } FlyObject::FlyObject(const FlyObject &f){ @@ -26,7 +24,6 @@ FlyObject::FlyObject(const FlyObject &f){ this->centroid=f.getCentroid(); this->majorAxisEV =f.getMajorAxisEV(); this->velocityV = f.getVelocityV(); -// this->areaCoord = f.getAreaCoord(); this->headIsInDirectionMAEV = f.getHeadIsInDirectionMAEV(); this->head = f.getHead(); this->speed = f.getSpeed(); @@ -53,9 +50,6 @@ bool FlyObject::getHeadIsInDirectionMAEV() const { pair FlyObject::getHead() const { return this->head; } -//vector > FlyObject::getAreaCoord() const { -// return this->areaCoord; -//} double FlyObject::getSpeed() const { return this->speed; } @@ -73,16 +67,12 @@ void FlyObject::setMajorAxisEV(pair majorAxisEV) { void FlyObject::setVelocityV(pair velocityV) { this->velocityV = velocityV; -// cout << "velocityV is set to "<velocityV.first<<","<velocityV.second< head) { this->head = head; cout << "new head is set"< > areaCoord){ -// this->areaCoord = areaCoord; -//} void FlyObject::setSpeed(double speed) { this->speed = speed; } @@ -115,4 +105,4 @@ void FlyObject::output(ostream &out) { out<<"HeadIsInDir : "<headIsInDirectionMAEV<head.first<<","<