Lines Matching refs:matrix
33 struct matrix {
44 matrix_init_identity(struct matrix *m)
53 matrix_from_farray6(struct matrix *m, const float values[6])
65 matrix_init_scale(struct matrix *m, float sx, float sy)
73 matrix_init_translate(struct matrix *m, float x, float y)
81 matrix_init_rotate(struct matrix *m, int degrees)
96 matrix_is_identity(const struct matrix *m)
110 matrix_mult(struct matrix *dest,
111 const struct matrix *m1,
112 const struct matrix *m2)
114 struct matrix m; /* allow for dest == m1 or dest == m2 */
131 matrix_mult_vec(const struct matrix *m, int *x, int *y)
143 matrix_mult_vec_double(const struct matrix *m, double *x, double *y)
155 matrix_to_farray6(const struct matrix *m, float out[6])
166 matrix_to_relative(struct matrix *dest, const struct matrix *src)