Draw a sphere: Difference between revisions
Content deleted Content added
Add Racket entry |
m →{{header|REXX}}: added whitespace to the REXX section header. -- ~~~~ |
||
Line 2,632: | Line 2,632: | ||
=={{header|REXX}}== |
=={{header|REXX}}== |
||
This program is modeled after the |
This program is modeled after the '''C''' version. |
||
<br>The REXX language doesn't have a SQRT function, so a version is included here. |
<br>The REXX language doesn't have a '''SQRT''' function, so a version is included here. |
||
<br>Same with |
<br>Same with the '''CEIL'''ing and '''FLOOR''' functions. |
||
<lang rexx>/*REXX program to express a lighted sphere with simple chars for shading*/ |
<lang rexx>/*REXX program to express a lighted sphere with simple chars for shading*/ |
||
call drawSphere 19, 4, 2/10 |
call drawSphere 19, 4, 2/10 |