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

Method EnableWorldBoundary

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

Instruct camera to respect world boundaries

Source from the content-addressed store, hash-verified

143
144 // Instruct camera to respect world boundaries
145 inline void EnableWorldBoundary(const bool bEnable)
146 {
147 m_bWorldBoundary = bEnable;
148 }
149
150 // Are we using a world boundary?
151 inline bool IsWorldBoundaryEnabled() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected