Draw a sphere: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
(add Evaldraw (.kc) solution for draw sphere) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
(One intermediate revision by one other user not shown) | |||
Line 2,442:
Draw a sphere. We dont need to wrap the main () function with braces if we have no functions.
[[File:Evaldraw draw sphere.png|thumb|alt=A red sphere on a black background.|A red sphere, 5 units in front of camera.]]
<syntaxhighlight lang="C">
Line 5,853 ⟶ 5,855:
=={{header|Wren}}==
{{trans|C}}
<syntaxhighlight lang="
var light = [30, 30, -50]
|