Added Import.

This commit is contained in:
Federico Ponchio 2004-03-06 15:46:43 +00:00
parent 59d5a521a8
commit ae18099281
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ public:
Matrix44 &SetRotate(T angle, const Point3<T> & axis);
T Determinant() const;
template <class Q> void Import(const Matrix44<Q> &m) {
for(int i = 0; i < 16; i++)
_a[i] = (T)m._a[i];
}
};