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

Function operator *

utilities/olcUTIL_Hardware3D.h:264–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262 // Multiplication operator overloads between vectors and scalars, and vectors and vectors
263 template<class TL, class TR>
264 inline constexpr auto operator * (const TL& lhs, const v_3d<TR>& rhs)
265 {
266 return v_3d(lhs * rhs.x, lhs * rhs.y, lhs * rhs.z);
267 }
268
269 template<class TL, class TR>
270 inline constexpr auto operator * (const v_3d<TL>& lhs, const TR& rhs)

Callers

nothing calls this directly

Calls 1

v_3dClass · 0.85

Tested by

no test coverage detected