Jump to content

Find if a point is within a triangle: Difference between revisions

(Added Algol 68)
Line 33:
With additional material
{{Trans|Wren}}
The Common Lisp algorithm (at least, as translated to Algol 68) does not handle the additional Wren test cases (same as the last two Common Lisp test cases except with extra digits). The more accurate algorithm translated from the Wren sample does handle these cases.
<lang algol68>BEGIN # determine whether a point is within a triangle or not #
# tolerance for the accurate test #
3,060

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.