var PolytopeIntersection = function() { IntersectFunctor.Intersection.call(this); this._intersectionPoints = []; this._distance = 0; this._maxDistance = 0; this._numIntersectionPoints = 0; };
var LineSegmentIntersection = function() { IntersectFunctor.Intersection.call(this); this._localIntersectionNormal = vec3.clone(vec3.ONE); // index of vertex this._i1 = -1; this._i2 = -1; this._i3 = -1; // barycentric coordinates this._r1 = 0.0; this._r2 = 0.0; this._r3 = 0.0; };