applyRotateX static method

void applyRotateX(
  1. List<double> m,
  2. double radians
)

Implementation

static void applyRotateX(List<double> m, double radians) {
  m[5] = cos(radians);
  m[6] = sin(radians);
  m[9] = -sin(radians);
  m[10] = cos(radians);
}