Пример #1
0
 public abstract Cv_RayCastIntersection[] RayCast(Vector2 startingPoint, Vector2 endingPoint, Cv_RayCastType type);
Пример #2
0
        public Cv_RayCastIntersection[] RayCast(Vector2 startingPoint, Vector2 endingPoint, Cv_RayCastType type)
        {
            if (GamePhysics != null)
            {
                return(GamePhysics.RayCast(startingPoint, endingPoint, type));
            }

            return(new Cv_RayCastIntersection[0]);
        }