setValueM4Array method

dynamic setValueM4Array(
  1. dynamic gl,
  2. dynamic v,
  3. dynamic textures
)

Implementation

setValueM4Array(gl, v, textures) {
  var data = flatten(v, size, 16);

  gl.uniformMatrix4fv(addr, false, data);
}