setFrom method

void setFrom(
  1. Vector3 other
)

Set the values by copying them from other.

Implementation

void setFrom(Vector3 other) {
  final otherStorage = other._v3storage;
  _v3storage[0] = otherStorage[0];
  _v3storage[1] = otherStorage[1];
  _v3storage[2] = otherStorage[2];
}