Draw a sphere: Difference between revisions
Content added Content deleted
Basicgames (talk | contribs) |
(add Evaldraw (.kc) solution for draw sphere) |
||
Line 2,438: | Line 2,438: | ||
</pre> |
</pre> |
||
=={{header|Evaldraw}}== |
|||
Draw a sphere. We dont need to wrap the main () function with braces if we have no functions. |
|||
<syntaxhighlight lang="C"> |
|||
() |
|||
cls(0); |
|||
clz(1e32); |
|||
setcam(0,0,-5,0,0); |
|||
setcol(128,64,64); |
|||
drawsph(0,0,0,1); |
|||
</syntaxhighlight> |
|||
=={{header|Factor}}== |
=={{header|Factor}}== |