From 6f804cbb20b328601907db51a6ab45705ffc9091 Mon Sep 17 00:00:00 2001 From: ganovelli Date: Fri, 18 Nov 2011 14:46:38 +0000 Subject: [PATCH] Distance plane point updated with lib --- wrap/gui/frustum.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/gui/frustum.h b/wrap/gui/frustum.h index 6baada09..fc87174a 100644 --- a/wrap/gui/frustum.h +++ b/wrap/gui/frustum.h @@ -142,7 +142,7 @@ template T Frustum::range(Point3 &point, T radius, T &closest, T } template T Frustum::Distance(Point3 &point, int plane) { - return vcg::Distance(planes[plane], point); + return vcg::DistancePlanePoint(planes[plane], point); } template void Frustum::GetView() {