Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImageDebugger/OpenImageDebugger
/ compute_zoom
Method
compute_zoom
src/visualization/components/camera.cpp:361–363 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
359
}
360
361
float Camera::compute_zoom() const {
362
return std::pow(zoom_factor, zoom_power_);
363
}
364
365
float Camera::get_zoom_power() const {
366
return zoom_power_;
Callers
3
update
Method · 0.80
draw
Method · 0.80
draw_status_bar
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected