Example #1
0
// Throttle behaves as Move but scales the speed
func (r Rudder) Jolt(pos *mat64.Vector, scale float64) {
	pos.AddScaledVec(pos, scale*r.S, r.D)
}