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

Method ray

utilities/olcUTIL_Geometry2D.h:641–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639 olc::v_2d<T> direction;
640
641 inline ray(const olc::v_2d<T>& o = { T(0), T(0) },
642 const olc::v_2d<T>& d = { T(0), T(0) })
643 : origin(o), direction(d)
644 { }
645 };
646
647 template<typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected