POV-Ray : Newsgroups : povray.unofficial.patches : %s crash : Re: %s crash Server Time
2 Sep 2024 10:17:53 EDT (-0400)
  Re: %s crash  
From: Warp
Date: 14 Dec 2002 13:54:18
Message: <3dfb7e5a@news.povray.org>
Pookles <rtc### [at] hotmailcom> wrote:
> Is there a way to use the % symbol to get the mod of a number?  Or is there
> another way to get a number mod another number in POVRAY?

  Use the mod() function.

  And could you please either be more specific about the issue or use the
correct terminology? That is: What do you mean by "crash"? An error message
is certainly not a "crash"; it's an error message. If, however, a true
crash happens, then you should promptly report it.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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