An isosceles right triangle whose legs are 6 is rotated about one of its legs to generate a right circular cone. What is the volume of the cone?