Got to commit more often, pretty much done writing greedy mesher.
Deleting some files.
Made my code not crash, required a lot of hacks for THREE.js, nothing renders yet though.
Well it renders something, adds millions of triangles per chunk though, and everything is messed up and all in one place.
Got rid of a lot of the triangles, still draws all skewed in once place.
Crashes soon after running, but renders a lot more than before.
One more typo fixed.
Didn't convert to world pos!
Reducing the chunk size makes it much easier to find the problem.
Maybe works?
I didn't transform from plane coords back to block. I am an idiot.
Should work now, just need to speed test it and test it a bit more.
Fixing up a couple things so Justin can possibly test it.