Changed bitfield values of property enumeration.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@266 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 = 0x00000, ///< No options
|
Default = 0, ///< No options
|
||||||
Binary = 0x00001, ///< Set binary mode for r/w
|
Binary = 1, ///< Set binary mode for r/w
|
||||||
MSB = 0x00002, ///< Assume big endian byte ordering
|
MSB = 1 << 1, ///< Assume big endian byte ordering
|
||||||
LSB = 0x00004, ///< Assume little endian byte ordering
|
LSB = 1 << 2, ///< Assume little endian byte ordering
|
||||||
Swap = 0x00006, ///< Swap byte order in binary mode
|
Swap = 1 << 3, ///< Swap byte order in binary mode
|
||||||
VertexNormal = 0x00010, ///< Has (r) / store (w) vertex normals
|
VertexNormal = 1 << 4, ///< Has (r) / store (w) vertex normals
|
||||||
VertexColor = 0x00020, ///< Has (r) / store (w) vertex colors
|
VertexColor = 1 << 5, ///< Has (r) / store (w) vertex colors
|
||||||
VertexTexCoord = 0x00040, ///< Has (r) / store (w) texture coordinates
|
VertexTexCoord = 1 << 6, ///< Has (r) / store (w) texture coordinates
|
||||||
EdgeColor = 0x00100, ///< Has (r) / store (w) edge colors
|
EdgeColor = 1 << 7, ///< Has (r) / store (w) edge colors
|
||||||
FaceNormal = 0x01000, ///< Has (r) / store (w) face normals
|
FaceNormal = 1 << 8, ///< Has (r) / store (w) face normals
|
||||||
FaceColor = 0x02000, ///< Has (r) / store (w) face colors
|
FaceColor = 1 << 9, ///< Has (r) / store (w) face colors
|
||||||
ColorAlpha = 0x04000 ///< Has (r) / store (w) alpha values for colors
|
ColorAlpha = 1 << 10 ///< Has (r) / store (w) alpha values for colors
|
||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user