|
![](/i/fill.gif) |
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] xoommail com
http://members.xoom.com/dmilos/
***************************
Post a reply to this message
|
![](/i/fill.gif) |