POV-Ray : Newsgroups : povray.advanced-users : Bitwise operators corrupting SDL parse-time execution of POV-Ray? : Re: Bitwise operators corrupting SDL parse-time execution of POV-Ray? Server Time
28 May 2024 23:31:55 EDT (-0400)
  Re: Bitwise operators corrupting SDL parse-time execution of POV-Ray?  
From: Cousin Ricky
Date: 4 Feb 2023 13:29:41
Message: <63dea415$1@news.povray.org>
On 2023-02-04 04:01 (-4), jr wrote:
>> Cousin Ricky <ric### [at] yahoocom> wrote:
>>
>>> You can fix this by assigning data and len to new local variables within
>>> SuperFastHash(), and using only those new variables.
> 
> alternatively, you could invoke the macro as 'SuperFastHash (i, 0 + 10)'. the
> expression forcing POV-Ray to pass in a value.

It would have to be 'SuperFastHash (i + 0, 10)', if you choose to do it
that way.  But I prefer not requiring the caller to babysit the macro.


Post a reply to this message

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