Change HTML4 entities to HTML5

&lt to <
&gt to >
&amp to &
This commit is contained in:
James Gregory 2013-12-30 14:33:39 +11:00
commit b8e7ce7165
105 changed files with 1117 additions and 1117 deletions

View file

@ -45,10 +45,10 @@
the direction of increasingly negative Z. A right-handed
coordinate system is used throughout.
Tested with Borland C++ in the small model. */
#include &ltconio.h&gt
#include &ltstdio.h&gt
#include &ltdos.h&gt
#include &ltmath.h&gt
#include <conio.h>
#include <stdio.h>
#include <dos.h>
#include <math.h>
#include “polygon.h”
void main(void);
@ -125,7 +125,7 @@ void main() {
/* Flip to display the page into which we just drew */
ShowPage(PageStartOffsets[DisplayedPage = NonDisplayedPage]);
/* Rotate 6 degrees farther around the Y axis */
if ((Rotation += (M_PI/30.0)) &gt= (M_PI*2)) Rotation -= M_PI*2;
if ((Rotation += (M_PI/30.0)) >= (M_PI*2)) Rotation -= M_PI*2;
if (kbhit()) {
switch (getch()) {
case 0x1B: /* Esc to exit */
@ -134,7 +134,7 @@ void main() {
PolyWorldXform[2][3] -= 3.0; break;
case ‘T’: /* towards (+Z). Don’t allow to get too */
case ‘t’: /* close, so Z clipping isn’t needed */
if (PolyWorldXform[2][3] &lt -40.0)
if (PolyWorldXform[2][3] < -40.0)
PolyWorldXform[2][3] += 3.0; break;
case 0: /* extended code */
switch (getch()) {
@ -157,7 +157,7 @@ void main() {
} while (!Done);
/* Return to text mode and exit */
regset.x.ax = 0x0003; /* AL = 3 selects 80x25 text mode */
int86(0x10, &ampregset, &ampregset);
int86(0x10, &regset, &regset);
}
</PRE>
<!-- END CODE //-->