Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
400
void SimpleCamera::setAspectRatio(float ratio)
401
{
402
m_data->m_aspect = ratio;
403
update();
404
}
405
406
float SimpleCamera::getCameraPitch() const
407
{
Callers
5
updateCamera
Method · 0.80
updateCamera
Method · 0.80
resetCamera
Method · 0.80
resetCamera
Method · 0.80
resetCamera
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected