MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / addViewpoint

Method addViewpoint

Source/Falcor/Scene/Scene.cpp:2382–2386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2380 }
2381
2382 void Scene::addViewpoint()
2383 {
2384 auto camera = getCamera();
2385 addViewpoint(camera->getPosition(), camera->getTarget(), camera->getUpVector(), mSelectedCamera);
2386 }
2387
2388 void Scene::addViewpoint(const float3& position, const float3& target, const float3& up, uint32_t cameraIndex)
2389 {

Callers

nothing calls this directly

Calls 4

getUpVectorMethod · 0.80
getPositionMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected