chiark
/
gitweb
/
~ian
/
moebius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge into history old stuff found on chiark
[moebius.git]
/
transforms.hh
diff --git
a/transforms.hh
b/transforms.hh
index e398d279b96d96a3dd89d96d3688cbc9146f8916..bb7c3ce0bec01ab8396bc2e46c58a05e23c089b5 100644
(file)
--- a/
transforms.hh
+++ b/
transforms.hh
@@
-78,6
+78,13
@@
public:
Point operator()(Point in);
};
Point operator()(Point in);
};
+class ScaleTransform : public Transform {
+ double scale;
+public:
+ ScaleTransform(double s) { scale= s; }
+ Point operator()(Point in);
+};
+
class MagicTransform : public Transform {
double xkonstant, xfactor, yoffset, yfactor, zfactor;
public:
class MagicTransform : public Transform {
double xkonstant, xfactor, yoffset, yfactor, zfactor;
public: