| 634 | /// \related Vector3D |
| 635 | |
| 636 | inline Vector3D Project(const Vector3D& a, const Vector3D& b) |
| 637 | { |
| 638 | return (b * Dot(a, b)); |
| 639 | } |
| 640 | |
| 641 | /// \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. |
| 642 | /// \related Vector3D |