HTML and CSS Reference
In-Depth Information
cube in the middle. You'll notice a massive array of data is needed to create the 3D model.
We recommend copying and pasting this from the downloaded source code; if you don't
have that option, we sincerely apologize. Prepend
this.shape()
call from the follow-
ing listing to the top of
gd.template.Polygon.init()
's existing code from the
previous listing.
Listing 9.24. run.js—Polygon shape
init()
prepend