Moved from 2D shapes to 3D shapes. Added a height parameter.