Jump to content

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

m
→‎{{header|Wren}}: Changed to Wren S/H
imported>MattDESTROYER
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 3,160:
=={{header|Wren}}==
This is a translation of the ActionScript code for the 'accurate' method in the first referenced article above.
<syntaxhighlight lang="ecmascriptwren">var EPS = 0.001
var EPS_SQUARE = EPS * EPS
 
9,485

edits

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