Changed bitfield values of property enumeration.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@267 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -94,18 +94,18 @@ public:
|
|||||||
/// Definitions of %Options for reading and writing. The options can be
|
/// Definitions of %Options for reading and writing. The options can be
|
||||||
/// or'ed.
|
/// or'ed.
|
||||||
enum Flag {
|
enum Flag {
|
||||||
Default = 0, ///< No options
|
Default = 0x0000, ///< No options
|
||||||
Binary = 1, ///< Set binary mode for r/w
|
Binary = 0x0001, ///< Set binary mode for r/w
|
||||||
MSB = 1 << 1, ///< Assume big endian byte ordering
|
MSB = 0x0002, ///< Assume big endian byte ordering
|
||||||
LSB = 1 << 2, ///< Assume little endian byte ordering
|
LSB = 0x0004, ///< Assume little endian byte ordering
|
||||||
Swap = 1 << 3, ///< Swap byte order in binary mode
|
Swap = 0x0006, ///< Swap byte order in binary mode
|
||||||
VertexNormal = 1 << 4, ///< Has (r) / store (w) vertex normals
|
VertexNormal = 0x0010, ///< Has (r) / store (w) vertex normals
|
||||||
VertexColor = 1 << 5, ///< Has (r) / store (w) vertex colors
|
VertexColor = 0x0020, ///< Has (r) / store (w) vertex colors
|
||||||
VertexTexCoord = 1 << 6, ///< Has (r) / store (w) texture coordinates
|
VertexTexCoord = 0x0040, ///< Has (r) / store (w) texture coordinates
|
||||||
EdgeColor = 1 << 7, ///< Has (r) / store (w) edge colors
|
EdgeColor = 0x0080, ///< Has (r) / store (w) texture coordinates
|
||||||
FaceNormal = 1 << 8, ///< Has (r) / store (w) face normals
|
FaceNormal = 0x0100, ///< Has (r) / store (w) face normals
|
||||||
FaceColor = 1 << 9, ///< Has (r) / store (w) face colors
|
FaceColor = 0x0200, ///< Has (r) / store (w) face colors
|
||||||
ColorAlpha = 1 << 10 ///< Has (r) / store (w) alpha values for colors
|
ColorAlpha = 0x0400 ///< Has (r) / store (w) alpha values for colors
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user