ReactOS  r74244
MAT_FLAG_XXX-flags

Macros

#define MAT_FLAG_IDENTITY   0
 
#define MAT_FLAG_GENERAL   0x1
 
#define MAT_FLAG_ROTATION   0x2
 
#define MAT_FLAG_TRANSLATION   0x4
 
#define MAT_FLAG_UNIFORM_SCALE   0x8
 
#define MAT_FLAG_GENERAL_SCALE   0x10
 
#define MAT_FLAG_GENERAL_3D   0x20
 
#define MAT_FLAG_PERSPECTIVE   0x40
 
#define MAT_FLAG_SINGULAR   0x80
 
#define MAT_DIRTY_TYPE   0x100
 
#define MAT_DIRTY_FLAGS   0x200
 
#define MAT_DIRTY_INVERSE   0x400
 
#define MAT_FLAGS_ANGLE_PRESERVING
 
#define MAT_FLAGS_GEOMETRY
 
#define MAT_FLAGS_LENGTH_PRESERVING
 
#define MAT_FLAGS_3D
 
#define MAT_DIRTY
 

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

Macro Definition Documentation

#define MAT_DIRTY
Value:
#define MAT_DIRTY_INVERSE
Definition: m_matrix.c:64
#define MAT_DIRTY_FLAGS
Definition: m_matrix.c:63
#define MAT_DIRTY_TYPE
Definition: m_matrix.c:62

dirty matrix flags mask

Definition at line 94 of file m_matrix.c.

Referenced by _math_matrix_is_general_scale().

#define MAT_DIRTY_FLAGS   0x200

matrix flags are dirty

Definition at line 63 of file m_matrix.c.

#define MAT_DIRTY_INVERSE   0x400

matrix inverse is dirty

Definition at line 64 of file m_matrix.c.

#define MAT_DIRTY_TYPE   0x100

matrix type is dirty

Definition at line 62 of file m_matrix.c.

#define MAT_FLAG_GENERAL   0x1

is a general matrix flag

Definition at line 54 of file m_matrix.c.

Referenced by _math_matrix_is_length_preserving().

#define MAT_FLAG_GENERAL_3D   0x20

general 3D matrix flag

Definition at line 59 of file m_matrix.c.

#define MAT_FLAG_GENERAL_SCALE   0x10

is a general scaling matrix flag

Definition at line 58 of file m_matrix.c.

Referenced by _math_matrix_ortho().

#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.)

Definition at line 45 of file m_matrix.c.

#define MAT_FLAG_PERSPECTIVE   0x40

is a perspective proj matrix flag

Definition at line 60 of file m_matrix.c.

Referenced by _math_matrix_frustum().

#define MAT_FLAG_ROTATION   0x2

is a rotation matrix flag

Definition at line 55 of file m_matrix.c.

Referenced by _math_matrix_is_length_preserving().

#define MAT_FLAG_SINGULAR   0x80

is a singular matrix flag

Definition at line 61 of file m_matrix.c.

#define MAT_FLAG_TRANSLATION   0x4

is a translation matrix flag

Definition at line 56 of file m_matrix.c.

Referenced by _math_matrix_ortho().

#define MAT_FLAG_UNIFORM_SCALE   0x8

is an uniform scaling matrix flag

Definition at line 57 of file m_matrix.c.

#define MAT_FLAGS_3D
Value:
#define MAT_FLAG_GENERAL_SCALE
Definition: m_matrix.c:58
#define MAT_FLAG_TRANSLATION
Definition: m_matrix.c:56
#define MAT_FLAG_GENERAL_3D
Definition: m_matrix.c:59
#define MAT_FLAG_ROTATION
Definition: m_matrix.c:55
#define MAT_FLAG_UNIFORM_SCALE
Definition: m_matrix.c:57

3D (non-perspective) matrix flags mask

Definition at line 87 of file m_matrix.c.

#define MAT_FLAGS_ANGLE_PRESERVING
Value:
#define MAT_FLAG_TRANSLATION
Definition: m_matrix.c:56
#define MAT_FLAG_ROTATION
Definition: m_matrix.c:55
#define MAT_FLAG_UNIFORM_SCALE
Definition: m_matrix.c:57

angle preserving matrix flags mask

Definition at line 67 of file m_matrix.c.

#define MAT_FLAGS_GEOMETRY
Value:
#define MAT_FLAG_GENERAL_SCALE
Definition: m_matrix.c:58
#define MAT_FLAG_TRANSLATION
Definition: m_matrix.c:56
#define MAT_FLAG_GENERAL_3D
Definition: m_matrix.c:59
#define MAT_FLAG_SINGULAR
Definition: m_matrix.c:61
#define MAT_FLAG_PERSPECTIVE
Definition: m_matrix.c:60
#define MAT_FLAG_ROTATION
Definition: m_matrix.c:55
#define MAT_FLAG_GENERAL
Definition: m_matrix.c:54
#define MAT_FLAG_UNIFORM_SCALE
Definition: m_matrix.c:57

geometry related matrix flags mask

Definition at line 72 of file m_matrix.c.

#define MAT_FLAGS_LENGTH_PRESERVING
Value:
#define MAT_FLAG_TRANSLATION
Definition: m_matrix.c:56
#define MAT_FLAG_ROTATION
Definition: m_matrix.c:55

length preserving matrix flags mask

Definition at line 82 of file m_matrix.c.