MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetCamera

Method SetCamera

engine/Poseidon/World/Scene/Scene.cpp:229–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 GLandscape = nullptr;
228}
229
230void Scene::SetCamera(const Camera& camera)
231{
232 if (_camera)
233 {
234 *_camera = camera;
235 }
236 else
237 {
238 _camera = new Camera(camera);
239 }
240}
241
242FogFunction::FogFunction()

Callers 4

RenderSceneMethod · 0.80
InitCameraParsMethod · 0.80
OnDrawMethod · 0.80
DrawObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected