Matrix4.rotationZ constructor Null safety

Matrix4.rotationZ(
  1. double radians
)

Rotation of radians around Z.

Implementation

factory Matrix4.rotationZ(double radians) => Matrix4.zero()
  .._m4storage[15] = 1.0
  ..setRotationZ(radians);