Hi András,
> If anyone is interested, here is the fixed-point version of Paul Graham’s ray
> tracer from “ANSI Common Lisp”:
>
> ~~~
> # P.Graham: "ANSI Common Lisp"
> # ray tracer
Wow, cool, this looks good!
Thanks!
☺/ A!ex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscrib
Hi,
If anyone is interested, here is the fixed-point version of Paul Graham’s ray
tracer from “ANSI Common Lisp”:
~~~
# P.Graham: "ANSI Common Lisp"
# ray tracer
#
(gc 256)
(scl 4)
(de sq (X) (*/ X X 1.0))
(de mag (X Y Z)
(sqrt (+ (* X X) (* Y Y) (* Z Z))) )
(de make-point (X Y Z)
(lis