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

Function operator *

utilities/olcUTIL_Geometry2D.h:361–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359 // Multiplication operator overloads between vectors and scalars, and vectors and vectors
360 template<class TL, class TR>
361 inline constexpr auto operator * (const TL& lhs, const v_2d<TR>& rhs)
362 {
363 return v_2d(lhs * rhs.x, lhs * rhs.y);
364 }
365
366 template<class TL, class TR>
367 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