16 #ifndef __diguyOsgUtil_H
17 #define __diguyOsgUtil_H
19 #include <osg/Geometry>
21 #include <osg/StateSet>
54 static void detach_and_null(osg::Geode* geode, osg::ref_ptr<osg::Geometry>& drawable);
145 if ((update_flags & (
int) flag) != 0)
154 if (((update_flags & (
int) flag1) != 0) ||
155 ((update_flags & (
int) flag2) != 0))
165 if (((update_flags & (
int) flag1) != 0) ||
166 ((update_flags & (
int) flag2) != 0) ||
167 ((update_flags & (
int) flag3) != 0))
175 update_flags |= (int) flag;