Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baldurk/renderdoc
/ aspect
Function
aspect
qrenderdoc/Windows/TextureViewer.cpp:53–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
float aspect(const QSizeF &s)
54
{
55
return s.width() / s.height();
56
}
57
58
// if changing these functions, consider running the
'exhaustive test'
at the bottom of this file
59
// once
Callers
1
UI_OnTextureSelectionChanged
Method · 0.85
Calls
2
width
Method · 0.45
height
Method · 0.45
Tested by
no test coverage detected