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

Method Camera2D

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

Source from the content-addressed store, hash-verified

77
78 public:
79 inline Camera2D() : m_pTarget(&m_vLocalTarget) {}
80
81 // Construct a camera with a viewable area size, and an optional starting position
82 inline Camera2D(const olc::vf2d& vViewSize, const olc::vf2d& vViewPos = { 0.0f, 0.0f }) : m_pTarget(&m_vLocalTarget)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected