Matrix4.rotationX constructor
Matrix4.rotationX(
- double radians
Rotation of radians
around X.
Implementation
factory Matrix4.rotationX(double radians) => Matrix4.zero()
.._m4storage[15] = 1.0
..setRotationX(radians);