Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
function tri_is_ccw(shape_pts) =
let(area = cross(shape_pts[1] - shape_pts[0], shape_pts[2] - shape_pts[0]))
assert(area != 0, "points are collinear")
area > 0;bb33edfd7This file is pinned to the selected release. Download the original to open it in your design tool.