POV-Ray : Newsgroups : povray.newusers : new guy here needs help : Re: new guy here needs help Server Time
4 Nov 2024 13:02:58 EST (-0500)
  Re: new guy here needs help  
From: Tom Melly
Date: 19 Aug 2003 15:03:34
Message: <3f427486@news.povray.org>
"Matthew Pace" <mat### [at] lycoscom> wrote in message
news:mat### [at] netplexaussieorg...

<snip>

Okay, you introduced the following error when you changed the variable
names:
#declare currnet_point=0;

but this line is weird too (imho):
#while (y_coord_outer >= -2.5) // what?

Correct them, and I get your degenerate point error.

Now, given your condition:
#while (y_coord_outer >= -2.5)

and:

#declare y_coord_outer=2.5;
#declare y_coord_inner=1.5;

and:

  #declare y_coord_outer=y_coord_outer-.25;
  #declare y_coord_inner=y_coord_inner-.15;

and that you will get an error if the two values are equal, it follows that
they reach equality prior to or at the condition.

You can fix it by modifying the condition to:

#while (y_coord_outer >= -2.5 & y_coord_outer != y_coord_inner)

but I've no idea if this is your intent.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.