Introduction to Game Programming with C++ (Wordware Game Developers Library)

1.4 Dividing into Parts and Several Parts

In the above diagram, a pie chart has been divided into three parts. 1 is the third part of 3. From this we can see that 2, which is twice as large as 1, must be two third parts of 3. Notice, though, that 2 is not itself a part of 3 because 3 is not a multiple of 2; 2 cannot be contained inside 3 equally. Because of this, 2 is not a part of 3 but is said to be parts. 1 is one third part of 3, and so 2 is two third parts of 3. Similarly, if 10 were divided into five equal pieces, 2 would be one fifth part of 10, 4 would be two fifth parts, 6 would be three fifth parts, and so on.

Категории