Normal quotes
This commit is contained in:
parent
5e10794a24
commit
18011c595a
352 changed files with 6040 additions and 6040 deletions
10
50-04.md
10
50-04.md
|
|
@ -3,11 +3,11 @@
|
|||
------------------------ --------------------------------- --------------------
|
||||
|
||||
The other 2-D element we need is some way to erase the polygon at its
|
||||
old location before it’s moved and redrawn. We’ll do that by remembering
|
||||
the bounding rectangle of the polygon each time it’s drawn, then erasing
|
||||
old location before it's moved and redrawn. We'll do that by remembering
|
||||
the bounding rectangle of the polygon each time it's drawn, then erasing
|
||||
by clearing that area with a rectangle fill.
|
||||
|
||||
With the 2-D side of the picture well under control, we’re ready to
|
||||
With the 2-D side of the picture well under control, we're ready to
|
||||
concentrate on the good stuff. Listings 50.2 through 50.5 are the sample
|
||||
3-D animation program. Listing 50.2 provides matrix multiplication
|
||||
functions in a straightforward fashion. Listing 50.3 transforms,
|
||||
|
|
@ -79,9 +79,9 @@ but it will certainly reduce confusion!
|
|||
represents a transformation from object space through world space
|
||||
to view space), then projects the transformed polygon onto the
|
||||
screen and draws it in color ???Color. Also updates the extent of the
|
||||
rectangle (EraseRect) that’s used to erase the screen later.
|
||||
rectangle (EraseRect) that's used to erase the screen later.
|
||||
Tested with Borland C++ in the small model. */
|
||||
#include “polygon.h”
|
||||
#include "polygon.h"
|
||||
|
||||
void XformAndProjectPoly(double Xform[4][4], struct Point3 * Poly,
|
||||
int PolyLength, int Color)
|
||||
|
|
|
|||
Loading…
Reference in a new issue