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

Function operator /

utilities/olcUTIL_Hardware3D.h:290–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 // Division operator overloads between vectors and scalars, and vectors and vectors
289 template<class TL, class TR>
290 inline constexpr auto operator / (const TL& lhs, const v_3d<TR>& rhs)
291 {
292 return v_3d(lhs / rhs.x, lhs / rhs.y, lhs / rhs.z);
293 }
294
295 template<class TL, class TR>
296 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