Ejemplo n.º 1
0
        public void process(Ray3 worldRay, Vector3 location)
        {
            Vector3 dontCare;
            int     quantity;

            axisBox.setCenter(location);
            //Make sure the ray is within the radius of the circle and the hit box.
            selected = Distance.SqrDistance(ref location, ref worldRay) <= radius * radius && axisBox.findIntersection(ref worldRay, out quantity, out intersection, out dontCare);
        }