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];
|
||||
}
|
||||
matrix = proj*model;
|
||||
inverse = matrix;
|
||||
Invert(inverse);
|
||||
inverse = vcg::Inverse(matrix);;
|
||||
}
|
||||
|
||||
template <class T> Point3<T> View<T>::ViewPoint() const {
|
||||
|
|
Loading…
Reference in New Issue