Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Simple SyncMask Camera Args For C++

Author
Message
Red Ocktober
20
Years of Service
User Offline
Joined: 6th Dec 2003
Location:
Posted: 18th Sep 2007 17:25 Edited at: 18th Sep 2007 17:25
dbSyncMask(pow((double)2,(double)camNum));

... where camNum is the camera you want synced.

so far, this seems to work, is as simple as just putting in the camera number, and it avoids any confusion...

but i'm not 100% about it... any comments, opinions, etc...

--Mike
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Sep 2007 22:38
It can be simpler than that:
dbSyncMask(1 << camNum);

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code

Login to post a reply

Server time is: 2024-10-08 22:25:34
Your offset time is: 2024-10-08 22:25:34