Ray constructor
Ray([
- Vector3? from,
- Vector3? to
Implementation
Ray([Vector3? from, Vector3? to]) {
this.from = from ?? Vector3.zero();
this.to = to ?? Vector3.zero();
callback = (result){};
}