public static Vector2?StrictlyProject(this IImageModel @this, Vector3 point) { var projection = @this.Project(point); if (projection.IsVisibleOn(@this)) { return(projection); } else { return(null); } }
public static bool IsVisibleOn(this Vector3 @this, IImageModel model) { return(model.Project(@this).IsVisibleOn(model)); }