POV-Ray : Newsgroups : povray.programming : [BUG] POVRay excessive memory consumption : Re: [BUG] POVRay excessive memory consumption Server Time
8 Jul 2024 17:33:13 EDT (-0400)
  Re: [BUG] POVRay excessive memory consumption  
From: Thorsten Froehlich
Date: 24 Jan 2004 18:23:22
Message: <4012fe6a@news.povray.org>
In article <ofa### [at] tritonimagicode> , Christoph Hormann 
<chr### [at] gmxde>  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] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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