<p>Ok I am very very sorry email is clearly not my forte.</p>
<p>Linking same file in test and main dll: I am not aware of a precedent for this but if there is one of course I would be glad to be shown otherwise.</p>
<p>Second comment: please pardon if I am misunderstanding but how is what you suggest not simply moving the lookup table calculation from the helper function which we will also use for, at the very least, the cylinder test, inside the actual compute_sphere function itself?</p>

<p>Thank you<br>
Misha</p>
<p><blockquote type="cite">On Jul 26, 2010 8:40 PM, &quot;Octavian Voicu&quot; &lt;<a href="mailto:octavian.voicu@gmail.com">octavian.voicu@gmail.com</a>&gt; wrote:<br><br><p><font color="#500050">On Tue, Jul 27, 2010 at 4:15 AM, Misha Koshelev &lt;<a href="mailto:misha680@gmail.com">misha680@gmail.com</a>&gt; wrote:<br>
&gt; Why do you ask?<br>&gt;<br>&gt; Ar...</font></p>That&#39;s why I was asking, as I suppose you can&#39;t use functions from the<br>
test in the implementation, nor have internal functions used in the<br>
tests. Only way I see it is to have something like mesh_utils.[ch]<br>
which is linked with both the dll and the test, but I&#39;m not sure if<br>
that&#39;s acceptable. Maybe someone else can answer that.<br>
<br>
A little observation is that you don&#39;t really need to precompute both<br>
tables, just the one for phi (if you compute sin and cos of current<br>
theta outside the inner loop).<br>
<font color="#888888"><br>
Octavian<br>
</font></blockquote></p>