Constructs a ray with the given values.
Ray([Vector3? origin, Vector3? direction]) { this.origin = origin ?? Vector3() ; this.direction = direction ?? Vector3() ; }