mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
math: remove unused matrix_has_rotation
Signed-off-by: António Monteiro <antonio.fmr.monteiro@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19428>
This commit is contained in:
parent
55373642db
commit
18702a28bd
2 changed files with 0 additions and 21 deletions
|
|
@ -1270,24 +1270,6 @@ _math_matrix_is_length_preserving( const GLmatrix *m )
|
|||
return TEST_MAT_FLAGS( m, MAT_FLAGS_LENGTH_PRESERVING);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test if the given matrix does any rotation.
|
||||
* (or perhaps if the upper-left 3x3 is non-identity)
|
||||
*/
|
||||
GLboolean
|
||||
_math_matrix_has_rotation( const GLmatrix *m )
|
||||
{
|
||||
if (m->flags & (MAT_FLAG_GENERAL |
|
||||
MAT_FLAG_ROTATION |
|
||||
MAT_FLAG_GENERAL_3D |
|
||||
MAT_FLAG_PERSPECTIVE))
|
||||
return GL_TRUE;
|
||||
else
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
GLboolean
|
||||
_math_matrix_is_general_scale( const GLmatrix *m )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -146,9 +146,6 @@ _math_matrix_print( const GLmatrix *m );
|
|||
extern GLboolean
|
||||
_math_matrix_is_length_preserving( const GLmatrix *m );
|
||||
|
||||
extern GLboolean
|
||||
_math_matrix_has_rotation( const GLmatrix *m );
|
||||
|
||||
extern GLboolean
|
||||
_math_matrix_is_general_scale( const GLmatrix *m );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue