MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / getCameraTargetPosition

Method getCameraTargetPosition

examples/OpenGLWindow/SimpleCamera.cpp:299–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299void SimpleCamera::getCameraTargetPosition(double pos[3]) const
300{
301 pos[0] = m_data->m_cameraTargetPosition[0];
302 pos[1] = m_data->m_cameraTargetPosition[1];
303 pos[2] = m_data->m_cameraTargetPosition[2];
304}
305
306void SimpleCamera::getCameraPosition(double pos[3]) const
307{

Callers 15

getRayToMethod · 0.80
defaultWheelCallbackMethod · 0.80
getRayToMethod · 0.80
getRayToMethod · 0.80
renderSceneInternalMethod · 0.80
pickingPreTickCallbackFunction · 0.80
updateMethod · 0.80
getCameraInfoMethod · 0.80
getRayToMethod · 0.80
getRayToMethod · 0.80
SimpleWheelCallbackFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected