Draw a sphere: Difference between revisions

Content added Content deleted
Line 1,214: Line 1,214:
end</lang>
end</lang>


<div style="border: 1px solid #000000; overflow: auto; width: 100%"></div>
=={{header|J}}==
=={{header|J}}==


Line 1,227: Line 1,228:
> sphere [Run]
> sphere [Run]


But bringing up the example with a line of code is trivial enough:
<div style="border: 1px solid #000000; overflow: auto; width: 100%"></div>

<lang j>load 'system/examples/graphics/opengl/simple/sphere.ijs'</lang>
<lang j>load 'system/examples/graphics/opengl/simple/sphere.ijs'</lang>
<div style="border: 1px solid #000000; overflow: auto; width: 100%"></div>


===Raytracing Solution===
===Raytracing Solution===