diff options
author | 2009-01-08 15:20:21 +0000 | |
---|---|---|
committer | 2009-01-08 15:20:21 +0000 | |
commit | 1d52bd4cad64d8d8662f40c11210b705351b43ab (patch) | |
tree | c8fe83368e8e13ba7e8ec0c4ef078f5293cfea4d /Eigen/src/Geometry/Transform.h | |
parent | e2d2a7d2226b85569a9360b9738c15498fb454ac (diff) |
the big memory changes. the most important changes are:
ei_aligned_malloc now really behaves like a malloc
(untyped, doesn't call ctor)
ei_aligned_new is the typed variant calling ctor
EIGEN_MAKE_ALIGNED_OPERATOR_NEW now takes the class name as parameter
Diffstat (limited to 'Eigen/src/Geometry/Transform.h')
-rw-r--r-- | Eigen/src/Geometry/Transform.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/Transform.h b/Eigen/src/Geometry/Transform.h index fc7f5b002..2f1b9a75c 100644 --- a/Eigen/src/Geometry/Transform.h +++ b/Eigen/src/Geometry/Transform.h @@ -63,7 +63,7 @@ template<typename _Scalar, int _Dim> class Transform { public: - EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE(_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)) + EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE(Transform,_Scalar,_Dim==Dynamic ? Dynamic : (_Dim+1)*(_Dim+1)) enum { Dim = _Dim, ///< space dimension in which the transformation holds HDim = _Dim+1 ///< size of a respective homogeneous vector @@ -95,7 +95,9 @@ public: inline Transform() { } inline Transform(const Transform& other) - { m_matrix = other.m_matrix; } + { + m_matrix = other.m_matrix; + } inline explicit Transform(const TranslationType& t) { *this = t; } inline explicit Transform(const ScalingType& s) { *this = s; } |