Hi Robert

Maybe this is late to note, but could it be better to use code like the 
following?

//==================================
enum RotationMode
{
    HEADING=1,
    ELEVATION=2,
};
int _allowedRotation; // could be any combination of RotationMode members or 0 
to lock any rotation
void setAllowedRotation(int mode) {_allowedRotation=mode;}
//==================================

Could it be simpler to use?


Thank you!

Regards, Moji

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12673#12673





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to