Matrix4.skew constructor

Matrix4.skew(
  1. double alpha,
  2. double beta
)

Skew matrix around X axis (alpha) and Y axis (beta).

Implementation

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