Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ floor
Method
floor
include/math.hpp:269–271 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
267
return Vec(std::round(x), std::round(y));
268
}
269
Vec floor() const {
270
return Vec(std::floor(x), std::floor(y));
271
}
272
Vec ceil() const {
273
return Vec(std::ceil(x), std::ceil(y));
274
}
Callers
3
draw
Method · 0.80
render
Method · 0.80
draw
Method · 0.80
Calls
2
Vec
Class · 0.85
floor
Function · 0.85
Tested by
no test coverage detected