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

Method setCameraDistance

examples/OpenGLWindow/SimpleCamera.cpp:336–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void SimpleCamera::setCameraDistance(float dist)
337{
338 m_data->m_cameraDistance = dist;
339 update();
340}
341void SimpleCamera::setCameraUpVector(float x, float y, float z)
342{
343 m_data->m_cameraUp.setValue(x, y, z);

Callers 15

defaultWheelCallbackMethod · 0.45
initMethod · 0.45
resetCameraMethod · 0.45
resetCameraMethod · 0.45
resetCameraMethod · 0.45
resetCameraMethod · 0.45
resetCameraMethod · 0.45
mainFunction · 0.45
resetCameraMethod · 0.45
setupSceneMethod · 0.45
setupSceneMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected