Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ area
Method
area
include/math.hpp:242–244 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
240
return x * x + y * y;
241
}
242
float area() const {
243
return x * y;
244
}
245
/** Rotates counterclockwise in radians. */
246
Vec rotate(float angle) {
247
float sin = std::sin(angle);
Callers
3
deleteFramebuffer
Method · 0.80
render
Method · 0.80
draw
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected