MMatrix4.diagonal3 constructor

MMatrix4.diagonal3(
  1. Vector3 scale
)

Scale by scale.

Implementation

factory MMatrix4.diagonal3(Vector3 scale) => .identity()..setDiagonal3(scale);