DrawingTests WrapLinesRandomly Method Delta Engine Documentation
Via Lerp we can do fun things like update all lines to new positions each update tick and the drawing will interpolate between them. Here we use just 2 update ticks per second. View code on GitHub

Namespace: DeltaEngine.Graphics.Tests
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void WrapLinesRandomly()
Examples

/// <summary> 
/// Via Lerp we can do fun things like update all lines to new positions each update tick and 
/// the drawing will interpolate between them. Here we use just 2 update ticks per second. 
/// </summary>
[Test]
public void WrapLinesRandomly()
{
    EntitiesRunner.Current.ChangeUpdateTimeStep(0.5f);
    new RandomLines(100);
}
See Also