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

Method SetEdgeTriggerDistance

examples/TEST_Camera2D.cpp:181–184  ·  view source on GitHub ↗

Set distance from tracked point to start nudging screen

Source from the content-addressed store, hash-verified

179
180 // Set distance from tracked point to start nudging screen
181 inline void SetEdgeTriggerDistance(const olc::vf2d& vEdge)
182 {
183 m_vEdgeTriggerDistance = vEdge;
184 }
185
186 // Return disance from tracked point that screen will nudge
187 inline const olc::vf2d& GetEdgeTriggerDistance() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected