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

Content added Content deleted
(Find if a point is within a triangle in Dart)
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 2,343: Line 2,343:
Point [5.414285714285714, 14.349206349206348] is within triangle? true</pre>
Point [5.414285714285714, 14.349206349206348] is within triangle? true</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
{{trans|go}}
{{trans|go}}
<syntaxhighlight lang="vlang">import math
<syntaxhighlight lang="v (vlang)">import math


const eps = 0.001
const eps = 0.001