GizmoMath::ProjectPointOntoLine

Project a point onto the line defined by LineOrigin and LineDirection