I’m throwing some pretty crazy shapes at the tesselator and it does the job 99% of time. I just realized that my shapes were failing due to a lack of handling the “combine” callback. I wrote a callback and I figured in order to return a new vertex I had to modify the fourth parameter, we’ll call that parameter “out”. I’ve been trying to set out[0] to a custom vertex object, but always run into array store exceptions. If I ignore the combine callback, I’ll get error callback with a value of “must have combine callback”.
What am I doing wrong here?