Mat2D.fromMat4 constructor

Mat2D.fromMat4(
  1. Float64List mat4
)

Implementation

Mat2D.fromMat4(Float64List mat4)
    : _buffer = Float32List.fromList(
          [mat4[0], mat4[1], mat4[4], mat4[5], mat4[12], mat4[13]]);