LinearDragModule constructor

LinearDragModule(
  1. double coefficient
)

Creates a linear drag force with the given coefficient.

Implementation

LinearDragModule(this.coefficient) : assert(coefficient >= 0);