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

Method getCameraPosition

examples/OpenGLWindow/SimpleCamera.cpp:306–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void SimpleCamera::getCameraPosition(double pos[3]) const
307{
308 pos[0] = m_data->m_cameraPosition[0];
309 pos[1] = m_data->m_cameraPosition[1];
310 pos[2] = m_data->m_cameraPosition[2];
311}
312
313void SimpleCamera::getCameraTargetPosition(float pos[3]) const
314{

Callers 15

getRayToMethod · 0.80
mouseMoveCallbackMethod · 0.80
mouseButtonCallbackMethod · 0.80
defaultWheelCallbackMethod · 0.80
getRayToMethod · 0.80
mouseMoveCallbackMethod · 0.80
mouseButtonCallbackMethod · 0.80
getRayToMethod · 0.80
mouseMoveCallbackMethod · 0.80
mouseButtonCallbackMethod · 0.80
drawText3DMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected