uniformMatrix4fvNormal method

void uniformMatrix4fvNormal(
  1. dynamic location,
  2. bool transpose,
  3. dynamic value
)

Implementation

void uniformMatrix4fvNormal(location, bool transpose, value) {
  var arrayPointer = toPointer(value);
  gl.glUniformMatrix4fv(
      location, value.length ~/ 16, transpose ? 1 : 0, arrayPointer);
  calloc.free(arrayPointer);
}