Marching cubes errors

So I recently got marching cubes working (almost) and it works fine except this is happening. The thing is that it is only happening to the vertices furthest from me if I am standing at 90 degrees and at the vertices that are working.


Here is a closer example

If anyone could just give me some ideas as to why this is happening, I feel like maybe something is wrong with my density values or something, but if this has happened to you or you think you know what might be happening I would LOVE to hear it. If you would like to see my code then please just ask and I will send it.

Looks like you might be missing the last vertex when building your triangle mesh. You are probably looping through a set of positions. Are you sure you didn’t do a for loop with less than instead of less or equal to?