mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
fix #11: now the default Transform ctor set the last row in Affine mode.
This commit is contained in:
parent
d97d307fcf
commit
f3fd7fd22b
@ -201,8 +201,13 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
/** Default constructor without initialization of the coefficients. */
|
||||
inline Transform() { }
|
||||
/** Default constructor without initialization of the meaningfull coefficients.
|
||||
* If Mode==Affine, then the last row is set to [0 ... 0 1] */
|
||||
inline Transform()
|
||||
{
|
||||
if (Mode==Affine)
|
||||
makeAffine();
|
||||
}
|
||||
|
||||
inline Transform(const Transform& other)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user