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
14
50-06.html
14
50-06.html
|
|
@ -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 <conio.h>
|
||||
#include <stdio.h>
|
||||
#include <dos.h>
|
||||
#include <math.h>
|
||||
#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)) >= (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] < -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, &regset, &regset);
|
||||
int86(0x10, &regset, &regset);
|
||||
}
|
||||
</PRE>
|
||||
<!-- END CODE //-->
|
||||
|
|
|
|||
Loading…
Reference in a new issue