toArray method
Copies all values of this 3D vector to the given array.
Implementation
List<double> toArray(List<double> array, [int offset = 0] ) {
array[ offset + 0 ] = x;
array[ offset + 1 ] = y;
array[ offset + 2 ] = z;
return array;
}
Copies all values of this 3D vector to the given array.
List<double> toArray(List<double> array, [int offset = 0] ) {
array[ offset + 0 ] = x;
array[ offset + 1 ] = y;
array[ offset + 2 ] = z;
return array;
}