Commit b7a67947 authored by Will Schroeder's avatar Will Schroeder
Browse files

ERR: Fixed initialization bug.

parent c5a4042a
......@@ -397,7 +397,7 @@ int vlPolygon::PointInPolygon (float bounds[6], float *x, float *n)
// Fire the ray and compute the number of intersections. Be careful of
// degenerate cases (e.g., ray intersects at vertex).
if (line.Intersection(x,xray,x1,x2,u,v) == INTERSECTION)
if ((status=line.Intersection(x,xray,x1,x2,u,v)) == INTERSECTION)
if ( (RAY_TOL < v) && (v < 1.0-RAY_TOL) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment