private static bool IsOnSurface (ISurface src, float u, float v) { return (u >= 0 && u <= (src.Width - 1) && v >= 0 && v <= (src.Height - 1)); }