setFrom method

void setFrom(
  1. Ray2 other
)

Sets the values by copying them from other.

Implementation

void setFrom(Ray2 other) {
  setWith(origin: other.origin, direction: other.direction);
}