The shape has a constant cross section ... Three square faces meet at a vertex. A prism has two end faces that match the cross-section, plus a rectangular face for each side of the end face.