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

Function operator /

TSVector2D.h:242–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240 /// \related Vector2D
241
242 inline Vector2D operator /(const Vector2D& v, float n)
243 {
244 n = 1.0F / n;
245 return (Vector2D(v.x * n, v.y * n));
246 }
247
248 /// \brief Returns the componentwise product of the 2D vectors $a$ and $b$.
249 /// \related Vector2D

Callers

nothing calls this directly

Calls 2

Vector2DClass · 0.85
Point2DClass · 0.85

Tested by

no test coverage detected