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

Method setCameraTargetPosition

examples/OpenGLWindow/SimpleCamera.cpp:326–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void SimpleCamera::setCameraTargetPosition(float x, float y, float z)
327{
328 m_data->m_cameraTargetPosition.setValue(x, y, z);
329 update();
330}
331float SimpleCamera::getCameraDistance() const
332{
333 return m_data->m_cameraDistance;

Callers 15

defaultWheelCallbackMethod · 0.80
initMethod · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80
mainFunction · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80
setupSceneMethod · 0.80

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected