|
![](/i/fill.gif) |
In article <ofa### [at] triton imagico de> , Christoph Hormann
<chr### [at] gmx de> wrote:
> Speaking of good design:
>
> static inline void PRT_interpolate_linear(COLOUR *dest,
> COLOUR *l,COLOUR *r,float p)
> {
> for(unsigned int ii=0; ii<sizeof(COLOUR)/sizeof(float); ii++)
> { (*dest)[ii]=PRT_interpolate_linear((*l)[ii],(*r)[ii],p); }
> }
>
> For constructions like this you deserve to get shot.
Hey, that is *my* line! ;-)
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |