diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-02-12 15:43:26 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:44 +0200 |
commit | 334e82a0a23db8a5c0816756021611bfffe2fa26 (patch) | |
tree | 9512429b38ef7a72c32f991f6e57a825accebcc4 /interpolation.h | |
parent | ab08b66105e90ff75eeff2d807e4da4db51870a7 (diff) | |
download | pucket-334e82a0a23db8a5c0816756021611bfffe2fa26.tar.gz pucket-334e82a0a23db8a5c0816756021611bfffe2fa26.tar.bz2 pucket-334e82a0a23db8a5c0816756021611bfffe2fa26.zip |
Vectorize c and post matrices as well apply_xform
Diffstat (limited to 'interpolation.h')
-rw-r--r-- | interpolation.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interpolation.h b/interpolation.h index 82d3133..da3dfd1 100644 --- a/interpolation.h +++ b/interpolation.h @@ -35,11 +35,11 @@ double smoother(double t); double get_stagger_coef(double t, double stagger_prc, int num_xforms, int this_xform); double det_matrix(double s[2][2]); -int id_matrix(double s[3][2]); -int zero_matrix(double s[3][2]); +int id_matrix(double2 s[3]); +int zero_matrix(double2 s[3]); void copy_matrix(double to[3][2], double from[3][2]); -void clear_matrix(double m[3][2]); -void sum_matrix(double s, double m1[3][2], double m2[3][2]); +void clear_matrix(double2 m[3]); +void sum_matrix(double s, const double2 m1[3], double2 m2[3]); void mult_matrix(double s1[2][2], double s2[2][2], double d[2][2]); int compare_xforms(const void *av, const void *bv); |