diff options
author | 2016-05-20 13:21:34 +0200 | |
---|---|---|
committer | 2016-05-20 13:21:34 +0200 | |
commit | 0ba32f99bdccc2a2c3c8169fd5ccd2091a0d88d4 (patch) | |
tree | 34370a3b4c23579b70112ec4f97ed83b141ed207 /Eigen/src/Geometry/Quaternion.h | |
parent | 7a9d9cde94897f09a5a3640f431bc94f78265776 (diff) |
Rename UniformRandom to UnitRandom.
Diffstat (limited to 'Eigen/src/Geometry/Quaternion.h')
-rw-r--r-- | Eigen/src/Geometry/Quaternion.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index c7fcaf940..fc5175f01 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -271,7 +271,7 @@ public: explicit inline Quaternion(const Quaternion<OtherScalar, OtherOptions>& other) { m_coeffs = other.coeffs().template cast<Scalar>(); } - static Quaternion UniformRandom(); + static Quaternion UnitRandom(); template<typename Derived1, typename Derived2> static Quaternion FromTwoVectors(const MatrixBase<Derived1>& a, const MatrixBase<Derived2>& b); @@ -616,7 +616,7 @@ inline Derived& QuaternionBase<Derived>::setFromTwoVectors(const MatrixBase<Deri * \note The implementation is based on http://planning.cs.uiuc.edu/node198.html */ template<typename Scalar, int Options> -Quaternion<Scalar,Options> Quaternion<Scalar,Options>::UniformRandom() +Quaternion<Scalar,Options> Quaternion<Scalar,Options>::UnitRandom() { using std::sqrt; using std::sin; |