POV-Ray : Newsgroups : povray.newusers : Using rand(); clear howto! : Re: Using rand(); clear howto! Server Time
5 Nov 2024 13:23:32 EST (-0500)
  Re: Using rand(); clear howto!  
From: Chris Huff
Date: 11 May 2001 16:57:32
Message: <3afc522f@news.povray.org>
Simon Lemieux <lem### [at] yahoocom> wrote:

> Yeah, I see your point... It can be done too in C++, but this way is
> much more easy...

In C++ (and Objective-C), the first thing I did was write
random-number-generator classes to do things like gaussian
distributions, specialized ranges ([0,1], [-1,1], [a,b]), etc.


-- 
Christopher James Huff - chr### [at] maccom
Home Page: http://homepage.mac.com/chrishuff/
POV-Ray TAG e-mail: chr### [at] povrayorg
POV-Ray TAG web site: http://tag.povray.org/


Post a reply to this message

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