Find if a point is within a triangle: Difference between revisions
Content added Content deleted
(Added ATS.) |
m (→{{header|ATS}}) |
||
Line 344: | Line 344: | ||
typedef vector = |
typedef vector = |
||
(* This type will represent either a point relative to the origin or |
(* This type will represent either a point relative to the origin or |
||
the |
the difference between two points. The e1 component is the x-axis |
||
and the e2 component is the y-axis. *) |
and the e2 component is the y-axis. *) |
||
@{e1 = double, e2 = double} |
@{e1 = double, e2 = double} |