Engines/FlatRedBallXNA/FlatRedBall/Math/Geometry/Sphere.cs
/// <summary>
/// Applies the every-frame activity for moving the object.  This is automatically called every frame by the engine if this object is part of the ShapeManager.
/// </summary>
/// <param name="secondDifference">The number of seconds that have passed since last frame</param>
/// <param name="secondDifferenceSquaredDividedByTwo">SecondDifference * secondDifference / 2 - used for integrating acceleration.</param>
/// <param name="lastSecondDifference">How much time passed last frame.</param>
Applies the every-frame activity for moving the object.  This is automatically called every frame by the engine if this object is part of the ShapeManager.
Applies the every - frame activity for moving the object . This is automatically called every frame by the engine if this object is part of the ShapeManager .
public override void TimedActivity(float secondDifference,
            double secondDifferenceSquaredDividedByTwo, float lastSecondDifference)
        {
            base.TimedActivity(secondDifference, secondDifferenceSquaredDividedByTwo, lastSecondDifference);
            Radius += (float)(mRadiusVelocity * secondDifference);
        }
public override void TimedActivity ( float secondDifference , double secondDifferenceSquaredDividedByTwo , float lastSecondDifference ) { base . TimedActivity ( secondDifference , secondDifferenceSquaredDividedByTwo , lastSecondDifference ) ; Radius += ( float ) ( mRadiusVelocity * secondDifference ) ; }
Applies the every-frame activity for moving the object.
Applies the every - frame activity for moving the object .
secondDifference
float
The number of seconds that have passed since last frame
The number of seconds that have passed since last frame
secondDifferenceSquaredDividedByTwo
double
SecondDifference * secondDifference / 2 - used for integrating acceleration.
SecondDifference * secondDifference / 2 - used for integrating acceleration .
lastSecondDifference
float
None