MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / Project

Function Project

TSVector4D.h:524–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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>&#x202F;&minus;&#x202F;(<b>a</b>&#x202F;&sdot;&#x202F;<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

Callers

nothing calls this directly

Calls 1

DotFunction · 0.70

Tested by

no test coverage detected