示例#1
0
        public static Vector2?StrictlyProject(this IImageModel @this, Vector3 point)
        {
            var projection = @this.Project(point);

            if (projection.IsVisibleOn(@this))
            {
                return(projection);
            }
            else
            {
                return(null);
            }
        }
示例#2
0
 public static bool IsVisibleOn(this Vector3 @this, IImageModel model)
 {
     return(model.Project(@this).IsVisibleOn(model));
 }