|
|
Ken Cecka <cec### [at] alumniwashingtonedu> wrote:
: 1. A circle of radius r_1 swept about an arbitrary axis in space at a
: distance
: r_0 from that axis.
: 2. x^4 + y^4 + z^4 + 2 x^2 y^2 + 2 x^2 z^2 + 2 y^2 z^2 -
: 2 (r_0^2 + r_1^2) x^2 + 2 (r_0^2 - r_1^2) y^2 -
: 2 (r_0^2 + r_1^2) z^2 + (r_0^2 - r_1^2)^2 = 0
: The equation is copied from povray.doc. So my problem is, the two
: definitions produce different sized toruses.
There must be some bug in your code.
Btw, see http://iki.fi/warp/polytutorial/
I used the torus as one example there.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|