Lines Matching refs:GLmatrix
53 * Bitmasks to indicate different kinds of 4x4 matrices in GLmatrix::flags
111 * \param mat a pointer to a GLmatrix structure.
212 * \param mat pointer to a GLmatrix structure containing the left multiplication
220 static void matrix_multf( GLmatrix *mat, const GLfloat *m, GLuint flags )
241 _math_matrix_mul_matrix( GLmatrix *dest, const GLmatrix *a, const GLmatrix *b )
264 _math_matrix_mul_floats( GLmatrix *dest, const GLfloat *m )
297 * Dumps the contents of a GLmatrix structure.
299 * \param m pointer to the GLmatrix structure.
302 _math_matrix_print( const GLmatrix *m )
339 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
340 * stored in the GLmatrix::inv attribute.
351 static GLboolean invert_matrix_general( GLmatrix *mat )
359 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
360 * stored in the GLmatrix::inv attribute.
371 static GLboolean invert_matrix_3d_general( GLmatrix *mat )
433 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
434 * stored in the GLmatrix::inv attribute.
443 static GLboolean invert_matrix_3d( GLmatrix *mat )
516 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
517 * stored in the GLmatrix::inv attribute.
521 * Simply copies Identity into GLmatrix::inv.
523 static GLboolean invert_matrix_identity( GLmatrix *mat )
532 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
533 * stored in the GLmatrix::inv attribute.
539 static GLboolean invert_matrix_3d_no_rot( GLmatrix *mat )
564 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
565 * stored in the GLmatrix::inv attribute.
572 static GLboolean invert_matrix_2d_no_rot( GLmatrix *mat )
594 static GLboolean invert_matrix_perspective( GLmatrix *mat )
623 typedef GLboolean (*inv_mat_func)( GLmatrix *mat );
648 * \param mat pointer to a GLmatrix structure. The matrix inverse will be
649 * stored in the GLmatrix::inv attribute.
655 * and copies the identity matrix into GLmatrix::inv.
657 static GLboolean matrix_invert( GLmatrix *mat )
685 _math_matrix_rotate( GLmatrix *mat,
869 _math_matrix_frustum( GLmatrix *mat,
952 _math_matrix_ortho( GLmatrix *mat,
977 _math_matrix_scale( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z )
1007 _math_matrix_translate( GLmatrix *mat, GLfloat x, GLfloat y, GLfloat z )
1026 _math_matrix_viewport(GLmatrix *m, const float scale[3],
1045 * Copies ::Identity into \p GLmatrix::m, and into GLmatrix::inv if not NULL.
1049 _math_matrix_set_identity( GLmatrix *mat )
1051 STATIC_ASSERT(MATRIX_M == offsetof(GLmatrix, m));
1052 STATIC_ASSERT(MATRIX_INV == offsetof(GLmatrix, inv));
1117 static void analyse_from_scratch( GLmatrix *mat )
1230 static void analyse_from_flags( GLmatrix *mat )
1279 _math_matrix_analyse( GLmatrix *mat )
1303 _math_matrix_is_length_preserving( const GLmatrix *m )
1314 _math_matrix_has_rotation( const GLmatrix *m )
1327 _math_matrix_is_general_scale( const GLmatrix *m )
1334 _math_matrix_is_dirty( const GLmatrix *m )
1350 * Copies all fields in GLmatrix, creating an inverse array if necessary.
1353 _math_matrix_copy( GLmatrix *to, const GLmatrix *from )
1373 _math_matrix_push_copy(GLmatrix *to, GLmatrix *from)
1382 * Loads a matrix array into GLmatrix.
1387 * Copies \p m into GLmatrix::m and marks the MAT_FLAG_GENERAL and MAT_DIRTY
1391 _math_matrix_loadf( GLmatrix *mat, const GLfloat *m )
1402 * Initialize the GLmatrix fields.
1405 _math_matrix_ctr( GLmatrix *m )