added a static (unefficient!) identity member
This commit is contained in:
parent
91cbd0047f
commit
c26a1aa94b
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.34 2007/07/12 06:42:01 cignoni
|
||||||
|
added the missing static Construct() member
|
||||||
|
|
||||||
Revision 1.33 2007/07/03 16:06:48 corsini
|
Revision 1.33 2007/07/03 16:06:48 corsini
|
||||||
add DCM to Euler Angles conversion
|
add DCM to Euler Angles conversion
|
||||||
|
|
||||||
|
@ -271,6 +274,13 @@ public:
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline const Matrix44 &Identity( )
|
||||||
|
{
|
||||||
|
static Matrix44<T> tmp; tmp.SetIdentity();
|
||||||
|
return tmp;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue