updateMatrix4 method
Implementation
updateMatrix4(Matrix4Uniform uniform) {
var updated = false;
var a = this.buffer;
var e = uniform.getValue().elements;
var offset = uniform.offset;
if (arraysEqual(a, e, offset) == false) {
if(e is NativeArray) {
a.set(e.toDartList(), offset);
} else {
a.set(e, offset);
}
updated = true;
}
return updated;
}