Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheRealMJP/DeferredTexturing
/ SetAspectRatio
Method
SetAspectRatio
SampleFramework12/v1.00/Graphics/Camera.cpp:190–194 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
188
}
189
190
void PerspectiveCamera::SetAspectRatio(float aspectRatio)
191
{
192
aspect = aspectRatio;
193
CreateProjection();
194
}
195
196
void PerspectiveCamera::SetFieldOfView(float fieldOfView)
197
{
Callers
1
AfterReset
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected