Distance plane point updated with lib

This commit is contained in:
ganovelli 2011-11-18 14:46:38 +00:00
parent 59b789818e
commit 6f804cbb20
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ template <class T> T Frustum<T>::range(Point3<T> &point, T radius, T &closest, T
} }
template <class T> T Frustum<T>::Distance(Point3<T> &point, int plane) { template <class T> T Frustum<T>::Distance(Point3<T> &point, int plane) {
return vcg::Distance(planes[plane], point); return vcg::DistancePlanePoint(planes[plane], point);
} }
template <class T> void Frustum<T>::GetView() { template <class T> void Frustum<T>::GetView() {