X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgeometry.cpp;h=e572fab6bbc64d93e8a6e1d85a01dfd6edf2bf2a;hb=f507d97c1b1118834a70332f5f79d8479a6964c0;hp=1ec93db7e1430b2752cc4e77a2b2d9d30ce61aeb;hpb=84afe881653a02a16b19d4da37435b8701b1a826;p=architektonas diff --git a/src/geometry.cpp b/src/geometry.cpp index 1ec93db..e572fab 100644 --- a/src/geometry.cpp +++ b/src/geometry.cpp @@ -126,6 +126,7 @@ bool Geometry::Intersects(Object * obj1, Object * obj2, double * t, double * s) } #endif +#if 0 // Finds the intersection between two lines (if any) int Geometry::Intersects(Line * l1, Line * l2, double * tp/*= 0*/, double * up/*= 0*/) { @@ -384,7 +385,7 @@ int Geometry::Intersects(Circle * c1, Circle * c2, double * tp/*= 0*/, double * return 2; } - +#endif // should we just do common trig solves, like AAS, ASA, SAS, SSA? // Law of Cosines: