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

Function operator /

olcPixelGameEngine.h:803–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801 // Division operator overloads between vectors and scalars, and vectors and vectors
802 template<class TL, class TR>
803 inline constexpr auto operator / (const TL& lhs, const v_2d<TR>& rhs)
804 {
805 return v_2d(lhs / rhs.x, lhs / rhs.y);
806 }
807
808 template<class TL, class TR>
809 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