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

Function operator *

olcPixelGameEngine.h:777–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775 // Multiplication operator overloads between vectors and scalars, and vectors and vectors
776 template<class TL, class TR>
777 inline constexpr auto operator * (const TL& lhs, const v_2d<TR>& rhs)
778 {
779 return v_2d(lhs * rhs.x, lhs * rhs.y);
780 }
781
782 template<class TL, class TR>
783 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