copyFromArray method

  1. @override
Vector4 copyFromArray(
  1. List<double> array, [
  2. int offset = 0
])
override

Implementation

@override
Vector4 copyFromArray(List<double> array, [int offset = 0]) {
  x = array[offset];
  y = array[offset + 1];
  z = array[offset + 2];
  w = array[offset + 3];

  return this;
}