DPSF by Daniel Schroeder

<PackageReference Include="DPSF" Version="2.5.0" />

.NET API 168,448 bytes


Inherits from the Position3D class and adds functionality to remember the object's last position.
public Vector3 PreviousPosition

The object's last position (before Update() was called).

public bool UpdatePreviousPositionAutomatically { get; set; }

Set this to False to not have the Update() function update the PreviousPosition value. Instead it will be up to an external object to update the PreviousPosition property each frame.

Default value is True.

Default Constructor.

Copy Constructor.

Copy Constructor.

public void CopyFrom(Position3DWithPreviousPosition positionToCopy)

Copy the given Position3DWithPreviousPosition object's data into this objects data.