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

Function operator /

TSVector3D.h:322–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 /// \related Vector3D
321
322 inline Vector3D operator /(const Vector3D& v, float n)
323 {
324 n = 1.0F / n;
325 return (Vector3D(v.x * n, v.y * n, v.z * n));
326 }
327
328 /// \brief Returns the componentwise product of the 3D vectors $a$ and $b$.
329 /// \related Vector3D

Callers

nothing calls this directly

Calls 2

Vector3DClass · 0.85
Point3DClass · 0.85

Tested by

no test coverage detected