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

Method setAspectRatio

examples/OpenGLWindow/SimpleCamera.cpp:400–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void SimpleCamera::setAspectRatio(float ratio)
401{
402 m_data->m_aspect = ratio;
403 update();
404}
405
406float SimpleCamera::getCameraPitch() const
407{

Callers 5

updateCameraMethod · 0.80
updateCameraMethod · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80
resetCameraMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected