Lines Matching refs:GLmatrix
49 * Bitmasks to indicate different kinds of 4x4 matrices in GLmatrix::flags
107 * \param mat a pointer to a GLmatrix structure.
208 * \param mat pointer to a GLmatrix structure containing the left multiplication
216 static void matrix_multf( GLmatrix *mat, const GLfloat *m, GLuint flags )
237 _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b )
260 _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *m )
293 * Dumps the contents of a GLmatrix structure.
295 * \param m pointer to the GLmatrix structure.
298 _math_matrix_print( const GLmatrix *m )
342 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
343 * stored in the GLmatrix::inv attribute.
354 static GLboolean invert_matrix_general( GLmatrix *mat )
470 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
471 * stored in the GLmatrix::inv attribute.
482 static GLboolean invert_matrix_3d_general( GLmatrix *mat )
544 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
545 * stored in the GLmatrix::inv attribute.
554 static GLboolean invert_matrix_3d( GLmatrix *mat )
627 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
628 * stored in the GLmatrix::inv attribute.
632 * Simply copies Identity into GLmatrix::inv.
634 static GLboolean invert_matrix_identity( GLmatrix *mat )
643 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
644 * stored in the GLmatrix::inv attribute.
650 static GLboolean invert_matrix_3d_no_rot( GLmatrix *mat )
675 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
676 * stored in the GLmatrix::inv attribute.
683 static GLboolean invert_matrix_2d_no_rot( GLmatrix *mat )
705 static GLboolean invert_matrix_perspective( GLmatrix *mat )
734 typedef GLboolean (*inv_mat_func)( GLmatrix *mat );
759 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
760 * stored in the GLmatrix::inv attribute.
766 * and copies the identity matrix into GLmatrix::inv.
768 static GLboolean matrix_invert( GLmatrix *mat )
796 _math_matrix_rotate( GLmatrix *mat,
980 _math_matrix_frustum( GLmatrix *mat,
1020 _math_matrix_ortho( GLmatrix *mat,
1066 _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z )
1096 _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z )
1115 _math_matrix_viewport(GLmatrix *m, const float scale[3],
1134 * Copies ::Identity into \p GLmatrix::m, and into GLmatrix::inv if not NULL.
1138 _math_matrix_set_identity( GLmatrix *mat )
1203 static void analyse_from_scratch( GLmatrix *mat )
1316 static void analyse_from_flags( GLmatrix *mat )
1365 _math_matrix_analyse( GLmatrix *mat )
1389 _math_matrix_is_length_preserving( const GLmatrix *m )
1400 _math_matrix_has_rotation( const GLmatrix *m )
1413 _math_matrix_is_general_scale( const GLmatrix *m )
1420 _math_matrix_is_dirty( const GLmatrix *m )
1436 * Copies all fields in GLmatrix, creating an inverse array if necessary.
1439 _math_matrix_copy( GLmatrix *to, const GLmatrix *from )
1448 * Loads a matrix array into GLmatrix.
1453 * Copies \p m into GLmatrix::m and marks the MAT_FLAG_GENERAL and MAT_DIRTY
1457 _math_matrix_loadf( GLmatrix *mat, const GLfloat *m )
1468 * Initialize the GLmatrix fields.
1471 _math_matrix_ctr( GLmatrix *m )
1488 * Frees the data in a GLmatrix.
1491 _math_matrix_dtr( GLmatrix *m )