MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / operator /

Function operator /

utilities/olcUTIL_Geometry2D.h:387–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 // Division operator overloads between vectors and scalars, and vectors and vectors
386 template<class TL, class TR>
387 inline constexpr auto operator / (const TL& lhs, const v_2d<TR>& rhs)
388 {
389 return v_2d(lhs / rhs.x, lhs / rhs.y);
390 }
391
392 template<class TL, class TR>
393 inline constexpr auto operator / (const v_2d<TL>& lhs, const TR& rhs)

Callers

nothing calls this directly

Calls 1

v_2dClass · 0.70

Tested by

no test coverage detected