POV-Ray : Newsgroups : povray.general : rand2d() define : Re: rand2d() define Server Time
2 Aug 2024 16:24:37 EDT (-0400)
  Re: rand2d() define  
From: Wolfgang Wieser
Date: 29 Aug 2004 11:25:07
Message: <4131f552@news.povray.org>
Adam wrote:

> Hi everyone,
> I'm trying to understand how the following define works (render.cpp):
> #define rand2d(a, b)
> jitttab[(int)(hashTable[(int)(hashTable[(int)((a)&0xfff)]^(b))&0xfff])&0xff]
> [...]
>
(1) Please do cross-posting instead of multiposting. 
     [What is it? -> http://www.blakjak.demon.co.uk/mul_crss.htm]
(2) See p.programming.

Wolfgang


Post a reply to this message

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