diff options
author | sanine <sanine.not@pm.me> | 2022-11-27 00:43:18 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-11-27 00:43:18 -0600 |
commit | c42d9264aed8da3a057719cab7390fa55904bda6 (patch) | |
tree | be60812077cefca105769f6e841ddfdf3d0fe25e /src/transform.h | |
parent | 29f9921b919497be4d652ce963c8afbb2c1cd1e7 (diff) |
add rotation parsing
Diffstat (limited to 'src/transform.h')
-rw-r--r-- | src/transform.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/transform.h b/src/transform.h index ef8b3e0..bbc79d1 100644 --- a/src/transform.h +++ b/src/transform.h @@ -1,6 +1,17 @@ +#ifndef KALMIA_TRANSLATE_H +#define KALMIA_TRANSLATE_H + #include <kalmia.h> #include <ezxml.h> /* parse a <matrix> tag into a ka_matrix_t */ int kai_parse_matrix(ka_matrix_t *m, ezxml_t tag); + +/* parse a <rotate> tag into a ka_matrix_t */ +int kai_parse_rotate(ka_matrix_t *m, ezxml_t tag); + +/* parse a <translate> tag into a ka_matrix_t */ +int kai_parse_translate(ka_matrix_t *m, ezxml_t tag); + +#endif |