Matrix4.skewX constructor

Matrix4.skewX(
  1. double alpha
)

Skew matrix around X axis

Implementation

factory Matrix4.skewX(double alpha) {
  final m = Matrix4.identity();
  m._m4storage[4] = math.tan(alpha);
  return m;
}