コード例 #1
0
ファイル: rudder.go プロジェクト: johnny-morrice/amoebethics
// 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)
}