Yeah, with the negative determinant rule in there things work a treat. I stuck my code on https://github.com/Pomax/WebGLdraw for anyone that's interested, and I'll make a new post for it it's not lost in a "how do I..." thread. Seeing LEGO pieces rendered using WebGL is pretty cool =)
- Pomax
- Pomax