ok lets work together
http://tfptfp.grindhard.com/math/math.html
if you have a square divide in to quadrants. Label the sides a,b,c,d and each quadrant I,II,III,IV.
there are 8 parts of this square where points can go, A1,A2,B2,B3,C3,C4,D4,D1.
three points in 8 possible parts = 512 (8^3) possible combinations [ie; (a1, d4, c3) would make a right triangle].
since it would take a while to go thru every point and test it, we simply have to figure out where it does work because that would be less than where it doesn't.
upload into the "math" folder, go here for directions
http://www.tfproject.org/tfp/showthr...566#post376566