fromArray method

Vector4 fromArray(
  1. List<num> array, [
  2. int offset = 0
])

Implementation

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

  return this;
}