Matrix4.rotationZ constructor

Matrix4.rotationZ(
  1. double radians
)

Rotation of radians_ around Z.

Implementation

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