diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-01 04:45:00 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-01 04:45:00 +0000 |
commit | e701e589c6a8bc4dd25d6c3e42947b83b09c24dd (patch) | |
tree | ab5bf2df0a9ce16c395e55dffdfabc5fc3f2aa9b /libdimensionxx/dimensionxx | |
parent | e957408cb8cd200696a081b4f5c749c5294110ec (diff) | |
download | dimension-e701e589c6a8bc4dd25d6c3e42947b83b09c24dd.tar.xz |
Wrap objects' transformation matricies in C++.
Diffstat (limited to 'libdimensionxx/dimensionxx')
-rw-r--r-- | libdimensionxx/dimensionxx/object.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libdimensionxx/dimensionxx/object.hpp b/libdimensionxx/dimensionxx/object.hpp index 6eaca83..af9bbcd 100644 --- a/libdimensionxx/dimensionxx/object.hpp +++ b/libdimensionxx/dimensionxx/object.hpp @@ -32,6 +32,11 @@ namespace Dimension // No-op, made pure virtual virtual ~Object() = 0; + // Get/set the transformation matrix + Matrix trans(); + void trans(const Matrix& trans); + + // Object callbacks virtual Array<double> intersections(const Line& l); virtual bool inside(const Vector& point); |