Home Segments Index Top Previous Next

383: Mainline

The following is a one-dimensional array with three places for storing cylinder objects, each of which includes, say, a radius and a length:

    0               1               2              <-- Index 
*---------------*---------------*---------------* 
|  cylinder     |  cylinder     |  cylinder     | 
|  object       |  object       |  object       | 
*---------------*---------------*---------------*