Matrix4.rotationY constructor

Matrix4.rotationY(
  1. double radians
)

Rotation of radians around Y.

Implementation

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