removed harmless warnings
This commit is contained in:
parent
2e9d5c0936
commit
2bdd323387
|
@ -299,7 +299,7 @@ namespace vcg{
|
|||
*/
|
||||
inline const TYPE* operator[](const unsigned int i) const
|
||||
{
|
||||
assert(i>=0 && i<_rows);
|
||||
assert(i<_rows);
|
||||
return _data + i*_columns;
|
||||
};
|
||||
|
||||
|
|
|
@ -578,11 +578,11 @@ template <class T> Matrix44<T> &Matrix44<T>::SetColumn(const unsigned int ii,con
|
|||
}
|
||||
|
||||
template <class T> Matrix44<T> &Matrix44<T>::SetColumn(const unsigned int ii,const Point4<T> &t) {
|
||||
assert((ii >= 0) && (ii < 4));
|
||||
ElementAt(0, ii) = t.X();
|
||||
ElementAt(1, ii) = t.Y();
|
||||
ElementAt(2, ii) = t.Z();
|
||||
ElementAt(3, ii) = t.W();
|
||||
assert((ii < 4));
|
||||
ElementAt(0, ii) = t[0];
|
||||
ElementAt(1, ii) = t[1];
|
||||
ElementAt(2, ii) = t[2];
|
||||
ElementAt(3, ii) = t[3];
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue