mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
Added static method Identity() to the Translation class.
This commit is contained in:
parent
e92993d7b9
commit
7cefa75901
@ -153,6 +153,8 @@ public:
|
||||
return *this;
|
||||
}
|
||||
|
||||
static const Translation Identity() { return Translation(VectorType::Zero()); }
|
||||
|
||||
/** \returns \c *this with scalar type casted to \a NewScalarType
|
||||
*
|
||||
* Note that if \a NewScalarType is equal to the current scalar type of \c *this
|
||||
|
Loading…
x
Reference in New Issue
Block a user