updateTransformByOffsetDx method

void updateTransformByOffsetDx(
  1. double offsetDx
)

更新偏移数据

Implementation

void updateTransformByOffsetDx(double offsetDx) {
  double offsetAngle = offsetDx / perimeter / 2 * 360;
  updateTransformByAngle(offsetAngle);
}