fix bug #42, add missing Transform::Identity()

This commit is contained in:
Benoit Jacob
2009-09-19 19:59:49 -04:00
parent 828a79ac78
commit 1df54e3ac2
2 changed files with 11 additions and 0 deletions

View File

@@ -345,6 +345,10 @@ public:
/** \sa MatrixBase::setIdentity() */
void setIdentity() { m_matrix.setIdentity(); }
static const typename MatrixType::IdentityReturnType Identity()
{
return MatrixType::Identity();
}
template<typename OtherDerived>
inline Transform& scale(const MatrixBase<OtherDerived> &other);