Ejemplo n.º 1
0
        /// <summary>
        /// Determines if there is an intersection between the current object and a <see cref="MyRay"/>.
        /// </summary>
        /// <param name="ray">The ray to test.</param>
        /// <returns>Whether the two objects intersected.</returns>
        public bool Intersects(ref MyRay ray)
        {
            MyVector3 point;

            return(MyCollision.RayIntersectsRay(ref this, ref ray, out point));
        }