Matrix4.rotationX constructor

Matrix4.rotationX(double radians)

Rotation of radians_ around X.

Implementation

factory Matrix4.rotationX(double radians) => new Matrix4.zero()
  .._m4storage[15] = 1.0
  ..setRotationX(radians);