Commit 6f1ed501 authored by jaycox's avatar jaycox

Modified Files: libgimp/gimpmatrix.c libgimp/gimpmatrix.h

 Modified Files:
 	libgimp/gimpmatrix.c libgimp/gimpmatrix.h

fixed the const problems by removing all uses of const.
parent d86072af
......@@ -21,7 +21,7 @@
#include <math.h>
gimp_matrix_transform_point (const GimpMatrix m, double x, double y,
gimp_matrix_transform_point (GimpMatrix m, double x, double y,
double *newx, double *newy)
double w;
......@@ -37,7 +37,7 @@ gimp_matrix_transform_point (const GimpMatrix m, double x, double y,
gimp_matrix_mult (const GimpMatrix m1, GimpMatrix m2)
gimp_matrix_mult (GimpMatrix m1, GimpMatrix m2)
int i, j;
GimpMatrix tmp;
......@@ -138,7 +138,7 @@ gimp_matrix_yshear (GimpMatrix m, double amnt)
gimp_matrix_determinant (const GimpMatrix m)
gimp_matrix_determinant (GimpMatrix m)
double determinant;
......@@ -150,7 +150,7 @@ gimp_matrix_determinant (const GimpMatrix m)
gimp_matrix_invert (const GimpMatrix m, GimpMatrix m_inv)
gimp_matrix_invert (GimpMatrix m, GimpMatrix m_inv)
double det_1;
......@@ -20,19 +20,19 @@
#ifndef __GIMPMATRIX_H__
#define __GIMPMATRIX_H__
typedef double GimpMatrix[3][3];
typedef double GimpMatrix[3][3];
void gimp_matrix_transform_point (const GimpMatrix, double, double,
void gimp_matrix_transform_point (GimpMatrix, double, double,
double *, double *);
void gimp_matrix_mult (const GimpMatrix, GimpMatrix);
void gimp_matrix_mult (GimpMatrix, GimpMatrix);
void gimp_matrix_identity (GimpMatrix);
void gimp_matrix_translate (GimpMatrix, double, double);
void gimp_matrix_scale (GimpMatrix, double, double);
void gimp_matrix_rotate (GimpMatrix, double);
void gimp_matrix_xshear (GimpMatrix, double);
void gimp_matrix_yshear (GimpMatrix, double);
double gimp_matrix_determinant (const GimpMatrix);
void gimp_matrix_invert (const GimpMatrix m, GimpMatrix m_inv);
double gimp_matrix_determinant (GimpMatrix);
void gimp_matrix_invert (GimpMatrix m, GimpMatrix m_inv);
#endif /* __GIMPMATRIX_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment