MCPcopy 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
53float 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

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected