ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

m_matrix.h File Reference

Go to the source code of this file.

Data Structures

struct  GLmatrix

Defines

Symbolic names to some of the entries in the matrix

These are handy for the viewport mapping, which is expressed as a matrix.

#define MAT_SX   0
#define MAT_SY   5
#define MAT_SZ   10
#define MAT_TX   12
#define MAT_TY   13
#define MAT_TZ   14

Enumerations

enum  GLmatrixtype {
  MATRIX_GENERAL, MATRIX_IDENTITY, MATRIX_3D_NO_ROT, MATRIX_PERSPECTIVE,
  MATRIX_2D, MATRIX_2D_NO_ROT, MATRIX_3D
}

Functions

void _math_matrix_ctr (GLmatrix *m)
void _math_matrix_dtr (GLmatrix *m)
void _math_matrix_alloc_inv (GLmatrix *m)
void _math_matrix_mul_matrix (GLmatrix *dest, const GLmatrix *a, const GLmatrix *b)
void _math_matrix_mul_floats (GLmatrix *dest, const GLfloat *b)
void _math_matrix_loadf (GLmatrix *mat, const GLfloat *m)
void _math_matrix_translate (GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z)
void _math_matrix_rotate (GLmatrix *m, GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
void _math_matrix_scale (GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z)
void _math_matrix_ortho (GLmatrix *mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearval, GLfloat farval)
void _math_matrix_frustum (GLmatrix *mat, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearval, GLfloat farval)
void _math_matrix_viewport (GLmatrix *m, GLint x, GLint y, GLint width, GLint height, GLfloat zNear, GLfloat zFar, GLfloat depthMax)
void _math_matrix_set_identity (GLmatrix *dest)
void _math_matrix_copy (GLmatrix *to, const GLmatrix *from)
void _math_matrix_analyse (GLmatrix *mat)
void _math_matrix_print (const GLmatrix *m)
GLboolean _math_matrix_is_length_preserving (const GLmatrix *m)
GLboolean _math_matrix_has_rotation (const GLmatrix *m)
GLboolean _math_matrix_is_general_scale (const GLmatrix *m)
GLboolean _math_matrix_is_dirty (const GLmatrix *m)

Related functions that don't actually operate on GLmatrix structs

#define TRANSFORM_POINT(Q, M, P)
#define TRANSFORM_POINT3(Q, M, P)
#define TRANSFORM_NORMAL(TO, N, MAT)
#define TRANSFORM_DIRECTION(TO, DIR, MAT)
void _math_transposef (GLfloat to[16], const GLfloat from[16])
void _math_transposed (GLdouble to[16], const GLdouble from[16])
void _math_transposefd (GLfloat to[16], const GLdouble from[16])

Detailed Description

Defines basic structures for matrix-handling.

Definition in file m_matrix.h.


Generated on Sun May 27 2012 04:58:58 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.