corrected rarely used setview in gui.h
This commit is contained in:
parent
ffc93b5169
commit
21d49e900e
|
@ -165,8 +165,7 @@ template <class T> void View<T>::SetView(const float *_proj,
|
||||||
viewport[i] = _viewport[i];
|
viewport[i] = _viewport[i];
|
||||||
}
|
}
|
||||||
matrix = proj*model;
|
matrix = proj*model;
|
||||||
inverse = matrix;
|
inverse = vcg::Inverse(matrix);;
|
||||||
Invert(inverse);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class T> Point3<T> View<T>::ViewPoint() const {
|
template <class T> Point3<T> View<T>::ViewPoint() const {
|
||||||
|
|
Loading…
Reference in New Issue