where to put the random seed ?
I put it like that...it is working but is it good practice ?
void wander::onGetParamInfo(int ParamIndex, TParamInfo* pParamInfo)
/* initialize random seed: */
srand(time(NULL));
thanx
* a wander behaviour on the way....
where to put the random seed ?
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
in OnInitModule is probably the best place?
Olivier Sens
www.brainmodular.com
www.brainmodular.com
yes it is, thanx:)
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Who is online
Users browsing this forum: No registered users and 8 guests
