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
On Sat, Mar 22, 2025 at 11:12:52PM -0700, Lindsay Lawrence wrote:
> Not sure when it was added, but I just want to say that the added
> annotation for fixed point values, when scl is set, is an amazingly useful
> feature for the repl.
Glad that you like it! This concept of REPL-comments is general