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

Method SetCamera

extensions/olcPGEX_RayCastWorld.h:257–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255
256
257void olc::rcw::Engine::SetCamera(const olc::vf2d& pos, const float heading)
258{
259 vCameraPos = pos;
260 fCameraHeading = heading;
261}
262
263
264void olc::rcw::Engine::Update(float fElapsedTime)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected