X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FRectangle.cc;fp=src%2FMoof%2FRectangle.cc;h=0000000000000000000000000000000000000000;hb=76b3f4be992514a740ac03cdbdd57844142a0b4c;hp=949c22a2395deb23fc9454f06fa3e8878377c409;hpb=b714ba98cb92a1be42acba91d44fe5bfb0783a3b;p=chaz%2Fyoink diff --git a/src/Moof/Rectangle.cc b/src/Moof/Rectangle.cc deleted file mode 100644 index 949c22a..0000000 --- a/src/Moof/Rectangle.cc +++ /dev/null @@ -1,32 +0,0 @@ - -/*] Copyright (c) 2009-2010, Charles McGarvey [************************** -**] All rights reserved. -* -* vi:ts=4 sw=4 tw=75 -* -* Distributable under the terms and conditions of the 2-clause BSD license; -* see the file COPYING for a complete text of the license. -* -**************************************************************************/ - -#include "Rectangle.hh" - - -namespace Mf { - - -void Rectangle::getCorners(Vector2 corners[4]) const -{ - corners[0][0] = min[0]; corners[0][1] = min[1]; - corners[1][0] = max[0]; corners[1][1] = min[1]; - corners[2][0] = max[0]; corners[2][1] = max[1]; - corners[3][0] = min[0]; corners[3][1] = max[1]; - corners[4][0] = min[0]; corners[4][1] = min[1]; - corners[5][0] = max[0]; corners[5][1] = min[1]; - corners[6][0] = max[0]; corners[6][1] = max[1]; - corners[7][0] = min[0]; corners[7][1] = max[1]; -} - - -} // namespace Mf -