Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Voronoi (Mesh Lib) ArrayIndexOutOfBoundsException

$
0
0

It's not the first time I'm having issues using Mesh Lib from Lee Byron. When there is a strange value of x or y, Voronoi throws ArrayIndexOutOfBoundsException.

I was able to detect when exception occurs that one particle had x value of 1.3E-44

What kind of float number is that? Is that a way to convert it back to float, or to check if it's greater/lesser than one value and constrain it before sending it to Voronoi?

Thanks!


Viewing all articles
Browse latest Browse all 2896

Trending Articles