Hello there!

I’ve tried to implemented the formulas for area and volume of triangle meshes, by testing them on a cube with side length 2. While the area is correct, the volume is twice as much as it should be:

https://enkimute.github.io/ganja.js/examples/coffeeshop.html#yitRh6KYI

Is there an error in the formula or in the implementation of it? It seems straightforward enough so that I should not have an error in the implementation?!

Cheers