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

Function operator /

TSVector4D.h:410–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408 /// \related Vector4D
409
410 inline Vector4D operator /(const Vector4D& v, float n)
411 {
412 n = 1.0F / n;
413 return (Vector4D(v.x * n, v.y * n, v.z * n, v.w * n));
414 }
415
416 /// \brief Returns the componentwise product of the 4D vectors $a$ and $b$.
417 /// \related Vector4D

Callers

nothing calls this directly

Calls 1

Vector4DClass · 0.85

Tested by

no test coverage detected