POV-Ray : Newsgroups : povray.general : povray crashes on multiplication? : Re: povray crashes on multiplication? Server Time
31 Jul 2024 02:26:15 EDT (-0400)
  Re: povray crashes on multiplication?  
From: Nicolas Alvarez
Date: 2 Dec 2007 15:10:07
Message: <4753111f$1@news.povray.org>

> /* code starts here *********************************************************/
> #macro DrawShelfSection( aLeft, aRight, aY, aSlanting )
>     #declare InvCosSl = 1 / cos ( 180 * aSlanting / pi );
>     ...
>     #declare xx = Left;
>     #while (xx < Right)
>         ...
>         #if (xx + Bwidth <= Right)
>             DrawBook( xx, aY, Bheight, Bwidth, aSlanting, RandomColor > )
>         #end
>         #declare xx = xx + Bwidth * InvCosSl;
>     #end
> #end
> /* code ends here ***********************************************************/
> 

Could you post the *full* code, including DrawBook() and without the 
'...' replacement? Or even better, remove other stuff until the code is 
"small enough" but *still* causes the crash (= a minimal testcase to 
reproduce the crash).


Post a reply to this message

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