|
|
file: discs.c
Original:
Line 968. lo[ Z ] = min( lo[ Y ], v[ Z ] ); hi[ Z ] = max( hi[ Y ],
v[ Z ] );
Fixed:
Line 968. lo[ Z ] = min( lo[ Z ], v[ Z ] ); hi[ Z ] = max( hi[ Z ],
v[ Z ] );
My conclusion:
1. Two macros are need:
#define VMin(a,b,c) \
{ \
(a)[ X ] = min( (b)[ X ], (c)[ X ] ); \
(a)[ Y ] = min( (b)[ Y ], (c)[ Y ] ); \
(a)[ Z ] = min( (b)[ Z ], (c)[ Z ] ); \
}
#define VMax(a,b,c)
{ \
(a)[ X ] = max( (b)[ X ], (c)[ X ] ); \
(a)[ Y ] = max( (b)[ Y ], (c)[ Y ] ); \
(a)[ Z ] = max( (b)[ Z ], (c)[ Z ] ); \
}
--
***************************
dmi### [at] xoommailcom
http://members.xoom.com/dmilos/
***************************
Nathan Kopp <Nat### [at] Koppcom> wrote in message
news:393295db@news.povray.org...
>
> Nathan Kopp <Nat### [at] Koppcom> wrote...
> >
> > kane <ann### [at] mindspringcom> wrote...
> > >
> > > Yes, I've had a similar problem with the lensflare or lenseffects. I
> > don't
> > > understand it, with 0.5 its gone, 0.4 its there. Hmmm.
> > > Kane
> >
> > That's caused by a bug in the fast disc patch, which will be removed.
>
> Or, if anyone wants to find a fix for this so we can keep the fast disc
> patch, go ahead!
>
> -Nathan
>
>
Post a reply to this message
|
|