Volume of three-dimensional shapes