var bunny =var patches = 010 bunnycells bunnypositions; # returns 1
require("mesh-winding-number")(point, cells, positions)
Returns a float representing winding number at
point. Note that due to floating point errors you may get slightly off of the correct integer value even for closed meshes. Furthermore, the result scales with mesh quality (for instance, the less watertight the mesh, the more likely the result is far from an integer value).
See stackgl/contributing for details.
MIT. See LICENSE.md for details.