X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgeometry.cpp;h=058dbfa14c06895ce659db9310ad778e57f7c925;hb=a6b8028671329872326c5e8ebd8037658f4c066f;hp=41928aa629b7b253798ad19a1a0b73c3b56c19e5;hpb=8a5bf49d09b5a00ebea3ffc449519ad05b0326cc;p=architektonas diff --git a/src/geometry.cpp b/src/geometry.cpp index 41928aa..058dbfa 100644 --- a/src/geometry.cpp +++ b/src/geometry.cpp @@ -85,6 +85,7 @@ Point Geometry::MirrorPointAroundLine(Point point, Point tail, Point head) Point Geometry::RotatePointAroundPoint(Point point, Point rotationPoint, double angle) { Vector v = Vector(point, rotationPoint); +// Vector v = Vector(rotationPoint, point); double px = (v.x * cos(angle)) - (v.y * sin(angle)); double py = (v.x * sin(angle)) + (v.y * cos(angle));