Lines Matching full:glmatrix
47 * Bitmasks to indicate different kinds of 4x4 matrices in GLmatrix::flags
105 * \param mat a pointer to a GLmatrix structure.
206 * \param mat pointer to a GLmatrix structure containing the left multiplication
214 static void matrix_multf( GLmatrix *mat, const GLfloat *m, GLuint flags )
235 _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b )
258 _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *m )
291 * Dumps the contents of a GLmatrix structure.
293 * \param m pointer to the GLmatrix structure.
296 _math_matrix_print( const GLmatrix *m )
340 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
341 * stored in the GLmatrix::inv attribute.
352 static GLboolean invert_matrix_general( GLmatrix *mat )
468 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
469 * stored in the GLmatrix::inv attribute.
480 static GLboolean invert_matrix_3d_general( GLmatrix *mat )
542 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
543 * stored in the GLmatrix::inv attribute.
552 static GLboolean invert_matrix_3d( GLmatrix *mat )
625 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
626 * stored in the GLmatrix::inv attribute.
630 * Simply copies Identity into GLmatrix::inv.
632 static GLboolean invert_matrix_identity( GLmatrix *mat )
641 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
642 * stored in the GLmatrix::inv attribute.
648 static GLboolean invert_matrix_3d_no_rot( GLmatrix *mat )
673 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
674 * stored in the GLmatrix::inv attribute.
681 static GLboolean invert_matrix_2d_no_rot( GLmatrix *mat )
703 static GLboolean invert_matrix_perspective( GLmatrix *mat )
732 typedef GLboolean (*inv_mat_func)( GLmatrix *mat );
757 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
758 * stored in the GLmatrix::inv attribute.
764 * and copies the identity matrix into GLmatrix::inv.
766 static GLboolean matrix_invert( GLmatrix *mat )
794 _math_matrix_rotate( GLmatrix *mat,
978 _math_matrix_frustum( GLmatrix *mat,
1018 _math_matrix_ortho( GLmatrix *mat,
1064 _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z )
1094 _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z )
1113 _math_matrix_viewport(GLmatrix *m, GLint x, GLint y, GLint width, GLint height,
1132 * Copies ::Identity into \p GLmatrix::m, and into GLmatrix::inv if not NULL.
1136 _math_matrix_set_identity( GLmatrix *mat )
1201 static void analyse_from_scratch( GLmatrix *mat )
1314 static void analyse_from_flags( GLmatrix *mat )
1363 _math_matrix_analyse( GLmatrix *mat )
1387 _math_matrix_is_length_preserving( const GLmatrix *m )
1398 _math_matrix_has_rotation( const GLmatrix *m )
1411 _math_matrix_is_general_scale( const GLmatrix *m )
1418 _math_matrix_is_dirty( const GLmatrix *m )
1434 * Copies all fields in GLmatrix, creating an inverse array if necessary.
1437 _math_matrix_copy( GLmatrix *to, const GLmatrix *from )
1446 * Loads a matrix array into GLmatrix.
1451 * Copies \p m into GLmatrix::m and marks the MAT_FLAG_GENERAL and MAT_DIRTY
1455 _math_matrix_loadf( GLmatrix *mat, const GLfloat *m )
1466 * Initialize the GLmatrix fields.
1469 _math_matrix_ctr( GLmatrix *m )
1486 * Frees the data in a GLmatrix.
1489 _math_matrix_dtr( GLmatrix *m )