added static identity function to matrix33
This commit is contained in:
parent
7b89a1f125
commit
bef4835ca2
|
@ -82,6 +82,12 @@ public:
|
|||
(*this)[i][j]=m(i,j);
|
||||
}
|
||||
|
||||
static inline const Matrix33 &Identity( )
|
||||
{
|
||||
static Matrix33<S> tmp; tmp.SetIdentity();
|
||||
return tmp;
|
||||
}
|
||||
|
||||
/// Number of columns
|
||||
inline unsigned int ColumnsNumber() const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue