degToRad static method

num degToRad(
  1. num degrees
)

Implementation

static num degToRad(num degrees) {
  return degrees * MathUtils.deg2rad;
}