| 522 | /// \related Vector4D |
| 523 | |
| 524 | inline Vector4D Project(const Vector4D& a, const Vector4D& b) |
| 525 | { |
| 526 | return (b * Dot(a, b)); |
| 527 | } |
| 528 | |
| 529 | /// \brief Returns <b>a</b> − (<b>a</b> ⋅ <b>b</b>)<b>b</b>, which is the rejection of $a$ from $b$ under the assumption that the magnitude of $b$ is one. |
| 530 | /// \related Vector4D |