Fixed a small boo-boo in definition of bit masks in include/osg/Drawable

Fixed incorrect normal conversions for osgconv.
This commit is contained in:
Don BURNS
2001-10-14 06:01:31 +00:00
parent a170b06d6d
commit 3ecaf3cd6c
2 changed files with 8 additions and 1 deletions

View File

@@ -136,9 +136,17 @@ class SG_EXPORT Drawable : public Object
COLORS = 0x4,
TEXTURE_COORDS = 0x8,
TEXTURE_COORDS_0 = TEXTURE_COORDS,
/*
* Robert,
* These would have kept you up late if you were
* trying to use these as bitmasks
TEXTURE_COORDS_1 = 0x16,
TEXTURE_COORDS_2 = 0x32,
TEXTURE_COORDS_3 = 0x64
*/
TEXTURE_COORDS_1 = 0x10,
TEXTURE_COORDS_2 = 0x20,
TEXTURE_COORDS_3 = 0x40
};
class AttributeFunctor

View File

@@ -6,7 +6,6 @@ using namespace osg;
class TransformFunctor : public osg::Drawable::AttributeFunctor
{
public:
osg::Matrix _m;