Java Reference
In-Depth Information
We can map the image onto a cylinder and a box just as easily. We do not show you the code here, as it is very
similar to the code for the sphere. You can look up the code in the downloaded code bundle for this topic. We show
you the outcome of these programs in Figures 10-10 and 10-11 .
Figure 10-10. The EarthCylinder program
Search WWH ::




Custom Search