SpringFunction

public struct SpringFunction<T>: SimulationFunction where T: Vector

Implements a simple spring acceleration function.