Engines/FlatRedBallXNA/FlatRedBall/Math/Geometry/Sphere.cs
/// <summary>
/// Returns whether the argument point is inside this instance.
/// </summary>
/// <param name="point">The point in world coordinates.</param>
/// <returns>Whether the point is inside this.</returns>
Returns whether the argument point is inside this instance.
Returns whether the argument point is inside this instance .
public bool IsPointInside(ref Vector3 point)
        {
            return 
                (Position.X - point.X) * (Position.X - Position.X) +
                (Position.Y - point.Y) * (Position.Y - Position.Y) +
                (Position.Z - point.Z) * (Position.Z - Position.Z) < Radius * Radius;
        }
public bool IsPointInside ( ref Vector3 point ) { return ( Position . X - point . X ) * ( Position . X - Position . X ) + ( Position . Y - point . Y ) * ( Position . Y - Position . Y ) + ( Position . Z - point . Z ) * ( Position . Z - Position . Z ) < Radius * Radius ; }
Returns whether the argument point is inside this instance.
Returns whether the argument point is inside this instance .
Whether the point is inside this.
Whether the point is inside this .
Vector3
ref
point
The point in world coordinates.
The point in world coordinates .