Change HTML4 entities to HTML5
< to < > to > & to &
This commit is contained in:
parent
56a4baa60e
commit
b8e7ce7165
105 changed files with 1117 additions and 1117 deletions
32
50-04.html
32
50-04.html
|
|
@ -59,9 +59,9 @@ void XformVec(double Xform[4][4], double * SourceVec,
|
|||
{
|
||||
int i,j;
|
||||
|
||||
for (i=0; i<4; i++) {
|
||||
for (i=0; i<4; i++) {
|
||||
DestVec[i] = 0;
|
||||
for (j=0; j<4; j++)
|
||||
for (j=0; j<4; j++)
|
||||
DestVec[i] += Xform[i][j] * SourceVec[j];
|
||||
}
|
||||
}
|
||||
|
|
@ -79,10 +79,10 @@ void ConcatXforms(double SourceXform1[4][4], double SourceXform2[4][4],
|
|||
{
|
||||
int i,j,k;
|
||||
|
||||
for (i=0; i<4; i++) {
|
||||
for (j=0; j<4; j++) {
|
||||
for (i=0; i<4; i++) {
|
||||
for (j=0; j<4; j++) {
|
||||
DestXform[i][j] = 0;
|
||||
for (k=0; k<4; k++)
|
||||
for (k=0; k<4; k++)
|
||||
DestXform[i][j] += SourceXform1[i][k] * SourceXform2[k][j];
|
||||
}
|
||||
}
|
||||
|
|
@ -110,10 +110,10 @@ void XformAndProjectPoly(double Xform[4][4], struct Point3 * Poly,
|
|||
struct PointListHeader Polygon;
|
||||
|
||||
/* Transform to view space, then project to the screen */
|
||||
for (i=0; i<PolyLength; i++) {
|
||||
for (i=0; i<PolyLength; i++) {
|
||||
/* Transform to view space */
|
||||
XformVec(Xform, (double *)&Poly[i], (double *)&XformedPoly[i]);
|
||||
/* Project the X & Y coordinates to the screen, rounding to the
|
||||
XformVec(Xform, (double *)&Poly[i], (double *)&XformedPoly[i]);
|
||||
/* Project the X & Y coordinates to the screen, rounding to the
|
||||
nearest integral coordinates. The Y coordinate is negated to
|
||||
flip from view space, where increasing Y is up, to screen
|
||||
space, where increasing Y is down. Add in half the screen
|
||||
|
|
@ -125,20 +125,20 @@ void XformAndProjectPoly(double Xform[4][4], struct Point3 * Poly,
|
|||
SCREEN_HEIGHT/2;
|
||||
/* Appropriately adjust the extent of the rectangle used to
|
||||
erase this page later */
|
||||
if (ProjectedPoly[i].X > EraseRect[NonDisplayedPage].Right)
|
||||
if (ProjectedPoly[i].X < SCREEN_WIDTH)
|
||||
if (ProjectedPoly[i].X > EraseRect[NonDisplayedPage].Right)
|
||||
if (ProjectedPoly[i].X < SCREEN_WIDTH)
|
||||
EraseRect[NonDisplayedPage].Right = ProjectedPoly[i].X;
|
||||
else EraseRect[NonDisplayedPage].Right = SCREEN_WIDTH;
|
||||
if (ProjectedPoly[i].Y > EraseRect[NonDisplayedPage].Bottom)
|
||||
if (ProjectedPoly[i].Y < SCREEN_HEIGHT)
|
||||
if (ProjectedPoly[i].Y > EraseRect[NonDisplayedPage].Bottom)
|
||||
if (ProjectedPoly[i].Y < SCREEN_HEIGHT)
|
||||
EraseRect[NonDisplayedPage].Bottom = ProjectedPoly[i].Y;
|
||||
else EraseRect[NonDisplayedPage].Bottom = SCREEN_HEIGHT;
|
||||
if (ProjectedPoly[i].X < EraseRect[NonDisplayedPage].Left)
|
||||
if (ProjectedPoly[i].X > 0)
|
||||
if (ProjectedPoly[i].X < EraseRect[NonDisplayedPage].Left)
|
||||
if (ProjectedPoly[i].X > 0)
|
||||
EraseRect[NonDisplayedPage].Left = ProjectedPoly[i].X;
|
||||
else EraseRect[NonDisplayedPage].Left = 0;
|
||||
if (ProjectedPoly[i].Y < EraseRect[NonDisplayedPage].Top)
|
||||
if (ProjectedPoly[i].Y > 0)
|
||||
if (ProjectedPoly[i].Y < EraseRect[NonDisplayedPage].Top)
|
||||
if (ProjectedPoly[i].Y > 0)
|
||||
EraseRect[NonDisplayedPage].Top = ProjectedPoly[i].Y;
|
||||
else EraseRect[NonDisplayedPage].Top = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue