public Ray2F ToRay2() { Ray2F result; result.Origin = Origin.ToVector2(); result.Direction = Direction.ToVector2(); return(result); }