From f64b175b13ff797d987b999ac9a816b0f71d710a Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 18 Jan 2012 16:49:18 +0000 Subject: [PATCH] Updating after the change IntersectionPlaneLine -> IntersectionLinePlane --- wrap/gui/trackutils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrap/gui/trackutils.h b/wrap/gui/trackutils.h index 48f14f4f..ba79c920 100644 --- a/wrap/gui/trackutils.h +++ b/wrap/gui/trackutils.h @@ -133,7 +133,7 @@ Point3f HitViewPlane (Trackball * tb, const Point3f & p) Plane3f vp = GetViewPlane (tb->camera, tb->center); Line3fN ln = tb->camera.ViewLineFromWindow (Point3f (p[0], p[1], 0)); Point3f PonVP; - IntersectionLinePlane < float >(vp, ln, PonVP); + IntersectionPlaneLine < float >(vp, ln, PonVP); return PonVP; } @@ -242,7 +242,7 @@ Point3f HitSphere (Trackball * tb, const Point3f & p) hitSphere1(0,0,0), hitSphere2(0,0,0), hitHyper(0,0,0); - IntersectionLinePlane < float >(vp, ln, hitPlane); + IntersectionPlaneLine < float >(vp, ln, hitPlane); Sphere3f sphere (center, tb->radius);//trackball sphere bool resSp = IntersectionLineSphere < float >(sphere, ln, hitSphere1, hitSphere2);