git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
006f7af
)
small bugfix in matrix printer
author
Matthias Kramm
<kramm@quiss.org>
Tue, 29 Dec 2009 23:50:58 +0000
(15:50 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Tue, 29 Dec 2009 23:50:58 +0000
(15:50 -0800)
lib/gfxtools.c
patch
|
blob
|
history
diff --git
a/lib/gfxtools.c
b/lib/gfxtools.c
index
36c9508
..
7772273
100644
(file)
--- a/
lib/gfxtools.c
+++ b/
lib/gfxtools.c
@@
-728,8
+728,8
@@
void gfxline_transform(gfxline_t*line, gfxmatrix_t*matrix)
void gfxmatrix_dump(gfxmatrix_t*m, FILE*fi, char*prefix)
{
- fprintf(fi, "%f %f | %f\n", m->m00, m->m10, m->tx);
- fprintf(fi, "%f %f | %f\n", m->m01, m->m11, m->ty);
+ fprintf(fi, "%s%f %f | %f\n", prefix, m->m00, m->m10, m->tx);
+ fprintf(fi, "%s%f %f | %f\n", prefix, m->m01, m->m11, m->ty);
}
void gfxmatrix_transform(gfxmatrix_t*m, double* v, double*dest)