What is the volume of a triangular prism whose bases are right triangles with sides of 3 cm, 4 cm, and 5 cm, and whose height is 10 cm?