core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

MAT_FLAG_XXX-flags


Detailed Description

Bitmasks to indicate different kinds of 4x4 matrices in GLmatrix::flags It would be nice to make all these flags private to m_matrix.c.


Defines

#define MAT_FLAG_IDENTITY   0
 is an identity matrix flag.
#define MAT_FLAG_GENERAL   0x1
 is a general matrix flag
#define MAT_FLAG_ROTATION   0x2
 is a rotation matrix flag
#define MAT_FLAG_TRANSLATION   0x4
 is a translation matrix flag
#define MAT_FLAG_UNIFORM_SCALE   0x8
 is an uniform scaling matrix flag
#define MAT_FLAG_GENERAL_SCALE   0x10
 is a general scaling matrix flag
#define MAT_FLAG_GENERAL_3D   0x20
 general 3D matrix flag
#define MAT_FLAG_PERSPECTIVE   0x40
 is a perspective proj matrix flag
#define MAT_FLAG_SINGULAR   0x80
 is a singular matrix flag
#define MAT_DIRTY_TYPE   0x100
 matrix type is dirty
#define MAT_DIRTY_FLAGS   0x200
 matrix flags are dirty
#define MAT_DIRTY_INVERSE   0x400
 matrix inverse is dirty
#define MAT_FLAGS_ANGLE_PRESERVING
 angle preserving matrix flags mask
#define MAT_FLAGS_GEOMETRY
 geometry related matrix flags mask
#define MAT_FLAGS_LENGTH_PRESERVING
 length preserving matrix flags mask
#define MAT_FLAGS_3D
 3D (non-perspective) matrix flags mask
#define MAT_DIRTY
 dirty matrix flags mask


Define Documentation

#define MAT_DIRTY

Value:

dirty matrix flags mask

#define MAT_DIRTY_FLAGS   0x200

matrix flags are dirty

#define MAT_DIRTY_INVERSE   0x400

matrix inverse is dirty

#define MAT_DIRTY_TYPE   0x100

matrix type is dirty

#define MAT_FLAG_GENERAL   0x1

is a general matrix flag

#define MAT_FLAG_GENERAL_3D   0x20

general 3D matrix flag

#define MAT_FLAG_GENERAL_SCALE   0x10

is a general scaling matrix flag

#define MAT_FLAG_IDENTITY   0

is an identity matrix flag.

(Not actually used - the identity matrix is identified by the absense of all other flags.)

#define MAT_FLAG_PERSPECTIVE   0x40

is a perspective proj matrix flag

#define MAT_FLAG_ROTATION   0x2

is a rotation matrix flag

#define MAT_FLAG_SINGULAR   0x80

is a singular matrix flag

#define MAT_FLAG_TRANSLATION   0x4

is a translation matrix flag

#define MAT_FLAG_UNIFORM_SCALE   0x8

is an uniform scaling matrix flag

#define MAT_FLAGS_3D

Value:

3D (non-perspective) matrix flags mask

#define MAT_FLAGS_ANGLE_PRESERVING

Value:

angle preserving matrix flags mask

#define MAT_FLAGS_GEOMETRY

Value:

geometry related matrix flags mask

#define MAT_FLAGS_LENGTH_PRESERVING

Value:

length preserving matrix flags mask


Generated on Sun Sep 27 06:47:50 2009 for Mesa math module by  doxygen 1.5.4