View Full Version : Odd problem with lighting...

09-11-2004, 05:10 PM
I have this code (it makes an earth and a moon that rotates around it):
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">// found this function on the internet, not taking credit for it
int CreateSphere(XYZ c, double r, int n)
int i, j;
double theta1, theta2, theta3;
XYZ e, p;
if (r < 0)
r = -r;
if (n < 0)
n = -n;
if (n < 4

09-11-2004, 05:13 PM
It just cut off the rest of my post and I can't find the edit button!

09-11-2004, 05:25 PM
You posted as an unregistered user, so you can't edit the post. Just post the rest of it.

09-12-2004, 02:49 PM
baltor, where's the rest of the code? you're not just going to leave us hangin! :-/

does anyone know exactly which tokens it chokes on? im thinking angle brackets and boolean and/or, but not sure. :confused: