Draw a sphere: Difference between revisions

Content added Content deleted
(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 "C" version.
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 &nbsp; '''SQRT''' &nbsp; function, so a version is included here.
<br>Same with CEILing and FLOOR.
<br>Same with the &nbsp; '''CEIL'''ing &nbsp; and &nbsp; '''FLOOR''' &nbsp; 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