]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Rectangle.cc
game loop tweaks; shapes hierarchy defined
[chaz/yoink] / src / Moof / Rectangle.cc
diff --git a/src/Moof/Rectangle.cc b/src/Moof/Rectangle.cc
deleted file mode 100644 (file)
index 949c22a..0000000
+++ /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
-
This page took 0.025321 seconds and 4 git commands to generate.