POV-Ray : Newsgroups : povray.binaries.images : Castle Gard (WIP) : Re: Castle Gard (WIP) Server Time
4 Nov 2024 20:12:50 EST (-0500)
  Re: Castle Gard (WIP)  
From: Florian Brucker
Date: 18 Feb 2007 11:43:52
Message: <45d88248$1@news.povray.org>
Thomas de Groot wrote:
> Personally, I find it easier to use RRand(min,max,R) from the rand.inc

Hm, looks good, didn't know it :)

> example:
> #declare R=seed(1010);
> 
> object {.....
>   rotate RRand(-1,1,R)*y
>   ....
> }

The degrees are missing, but in this case one could just use

	rotate RRand(-10,10,R)*y



Regards,
Florian


Post a reply to this message

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