DPSF by Daniel Schroeder

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

.NET API 168,448 bytes


public class Position3D
Class used to hold and update an object's 3D Position, Velocity, and Acceleration.
public Vector3 Acceleration

The object's Acceleration

public Vector3 Position

The object's Position

public Vector3 Velocity

The object's Velocity

public Position3D()

Default Constructor

public Position3D(Position3D cPositionToCopy)

Copy Constructor

public virtual void CopyFrom(Position3D cPositionToCopy)

Copy the given Position3D object's data into this objects data

public virtual void Update(float fElapsedTimeInSeconds)

Update the Position and Velocity according to the Acceleration