The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.functional
From: Vesa Karvonen <vesa.karvo...@cs.helsinki.fi>
Date: 2 Jun 2005 15:05:33 GMT
Local: Thurs 2 Jun 2005 16:05
Subject: Re: Port my ray tracer
[...]
> I'm keen to hear any constructive criticisms of my existing [...] > implementations. [...] > let val r' = 3.0 * r / Real.Math.sqrt 12.0 in > let fun aux x' z' = > create (level-1) (0.5 * r) (x-x', y+r', z+z') in > let val objs = [aux (~r') (~r'), aux r' (~r'), > aux (~r') r', aux r' r', obj] in > Group ((x, y, z), 3.0 * r, objs) > end end end end This won't have an effect on performance, but the above style of let val ... in into let val ... -Vesa Karvonen You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||