POV-Ray : Newsgroups : povray.general : Who is last: Parse_Object_Mods((OBJECT *)Object); or ... Server Time
9 Aug 2024 19:37:35 EDT (-0400)
  Who is last: Parse_Object_Mods((OBJECT *)Object); or ... (Message 1 to 9 of 9)  
From: Dejan D  M  Milosavljevic
Subject: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 12 Jun 2000 03:04:03
Message: <39448b63@news.povray.org>
File parse.c

 Usually in Parse_SomeObject at the end we have:
   Parse_Object_Mods((OBJECT *)Object);
   return((OBJECT *)Object);


 example:
  Line  995  Parse_Object_Mods((OBJECT *)Object);
  Line  997  return((OBJECT *)Object);

  Line 1004  Parse_Object_Mods ((OBJECT *)Object);
  Line 1006  return ((OBJECT *) Object);

 etc..

 I agree with that.

 But:

  Line 1067  Parse_Object_Mods ((OBJECT *)Object);
  Line 1069  Compute_HField(Object, Image);
  Line 1071  Compute_HField_BBox(Object);
  Line 1073  Destroy_Image (Image);
  Line 1075  return ((OBJECT *) Object);

  Line 1804  Parse_Object_Mods((OBJECT *)Object);
  Line 1808  Post_Textures(Object->Texture);
  Line 1812  Make_Blob(Object, threshold, blob_components, npoints);
  Line 1814  return((OBJECT *)Object);

  Line 1991  Parse_Object_Mods((OBJECT *)Object);
  Line 1993  SetUp_Fractal(Object);
  Line 1995  return((OBJECT *)Object);

  /*
  Line 2386  Parse_Object_Mods((OBJECT *)Object);
  Line 2390  POV_FREE (Points);
  Line 2392  return((OBJECT *) Object);

  Line 2496  Parse_Object_Mods((OBJECT *)Object);
  Line 2500  POV_FREE (Points);
  Line 2501  return ((OBJECT *) Object);
  */

  Line 3154  Parse_Object_Mods((OBJECT *)Object);
  Line 3158  Build_Mesh_BBox_Tree(Object);
  Line 3160  return((OBJECT *)Object);


 Question: "Why"?


File boxes.c:
 Line: 127   if (Depth1 > DEPTH_TOLERANCE)

 What's wrong with:
  if (Depth1 > DEPTH_TOLERANCE ) && ( Depth1 < Max_Distance ) )

--
***************************
      dmi### [at] xoommailcom
http://members.xoom.com/dmilos/
***************************


Post a reply to this message

From: Warp
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 12 Jun 2000 04:59:28
Message: <3944a670@news.povray.org>
Dejan D. M. Milosavljevic <dmi### [at] xoommailcom> wrote:
:  What's wrong with:
:   if (Depth1 > DEPTH_TOLERANCE ) && ( Depth1 < Max_Distance ) )

  Unmatched parenthesis.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Peter Popov
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 12 Jun 2000 17:54:32
Message: <pd3aks062ntvk6ss8j6f9r3kfpto923aq5@4ax.com>
On 12 Jun 2000 04:59:28 -0400, Warp <war### [at] tagpovrayorg> wrote:

>Dejan D. M. Milosavljevic <dmi### [at] xoommailcom> wrote:
>:  What's wrong with:
>:   if (Depth1 > DEPTH_TOLERANCE ) && ( Depth1 < Max_Distance ) )
>
>  Unmatched parenthesis.

Don't be so picky :) Dejan is doing it all for the love of POV :))


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Nathan Kopp
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 13 Jun 2000 00:26:33
Message: <3945b7f9$1@news.povray.org>
Dejan D. M. Milosavljevic <dmi### [at] xoommailcom> wrote...
> File parse.c
> 
>  Usually in Parse_SomeObject at the end we have:
>    Parse_Object_Mods((OBJECT *)Object);
>    return((OBJECT *)Object);
etc.

Reply is in povray.programming.

-Nathan


Post a reply to this message

From: Warp
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 13 Jun 2000 08:17:09
Message: <39462644@news.povray.org>
Peter Popov <pet### [at] usanet> wrote:
:>  Unmatched parenthesis.

: Don't be so picky :) Dejan is doing it all for the love of POV :))

  I'm a hopeless perfectionist...

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 13 Jun 2000 09:55:10
Message: <39463CA2.7C604FBC@pacbell.net>
Warp wrote:

>   I'm a hopeless perfectionist...

Well, you got part of that right :)

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Margus Ramst
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 14 Jun 2000 18:06:43
Message: <3947F419.7484592B@peak.edu.ee>
Warp wrote:
> 
>   I'm a hopeless perfectionist...
> 

... which is fortunate, since being a hopeful perfectionist is an excercise in
futility...

-- 
Margus Ramst

Personal e-mail: mar### [at] peakeduee
TAG (Team Assistance Group) e-mail: mar### [at] tagpovrayorg


Post a reply to this message

From: Ken
Subject: Re: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...
Date: 14 Jun 2000 19:55:22
Message: <39481ABD.38256936@pacbell.net>
Margus Ramst wrote:

> ...since being a hopeful perfectionist is an excercise in futility...

Well, that about sums up my life so far...

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Alan Kong
Subject: making babies... (was: Who is last: Parse_Object_Mods((OBJECT *)Object); or ...)
Date: 14 Jun 2000 20:48:27
Message: <6t9gkss6it2emudal0dtbh96ndd2264hdg@4ax.com>
On Thu, 15 Jun 2000 00:07:37 +0300 Margus Ramst <mar### [at] peakeduee>
wrote:

>... which is fortunate, since being a hopeful perfectionist is an excercise in
>futility...

  What does having babies to do with exercise? <bg>

-- 
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer


Post a reply to this message

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