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

Method SetTarget

examples/TEST_Camera2D.cpp:125–128  ·  view source on GitHub ↗

Set tracked point via pointer

Source from the content-addressed store, hash-verified

123
124 // Set tracked point via pointer
125 inline void SetTarget(olc::vf2d& vTarget)
126 {
127 m_pTarget = &vTarget;
128 }
129
130 // Set tracked point via const ref - {10, 35} for example
131 inline void SetTarget(const olc::vf2d&& vTarget)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected