summaryrefslogtreecommitdiff
path: root/private.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-21 20:18:32 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit0d9a396fa7d6e72cfd2157e0e47f00d08813f64f (patch)
tree2ecd6bfc0d7da08b66ffd79214be59a0fde6d52a /private.h
parentf300242e3cc5daf8a26fa673b4e812536132318a (diff)
downloadpucket-0d9a396fa7d6e72cfd2157e0e47f00d08813f64f.tar.gz
pucket-0d9a396fa7d6e72cfd2157e0e47f00d08813f64f.tar.bz2
pucket-0d9a396fa7d6e72cfd2157e0e47f00d08813f64f.zip
Use rotation matrix
Reuse affine transformation code from variations.
Diffstat (limited to 'private.h')
-rw-r--r--private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/private.h b/private.h
index 1f27600..4cffb2d 100644
--- a/private.h
+++ b/private.h
@@ -48,7 +48,7 @@ typedef struct {
unsigned short *xform_distrib; /* Distribution of xforms based on weights */
flam3_frame *spec; /* Frame contains timing information */
double bounds[4]; /* Corner coords of viewable area */
- double rot[2][2]; /* Rotation transformation */
+ double2 rot[3]; /* Rotation transformation */
double size[2];
int width, height; /* buffer width/height */
double ws0, wb0s0, hs1, hb1s1; /* shortcuts for indexing */