From 4824db64443d4057a3e183548aa4c63ea2c1060f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 2 Sep 2010 17:28:07 +0200 Subject: [PATCH] add the possibility to extend QuaternionBase --- Eigen/src/Geometry/Quaternion.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index 78365cd38..583d6c6aa 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -1,7 +1,7 @@ // This file is part of Eigen, a lightweight C++ template library // for linear algebra. // -// Copyright (C) 2008 Gael Guennebaud +// Copyright (C) 2008-2010 Gael Guennebaud // Copyright (C) 2009 Mathieu Gautier // // Eigen is free software; you can redistribute it and/or @@ -180,6 +180,10 @@ public: return typename ei_cast_return_type >::type( coeffs().template cast()); } + +#ifdef EIGEN_QUATERNIONBASE_PLUGIN +# include EIGEN_QUATERNIONBASE_PLUGIN +#endif }; /***************************************************************************