Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ rotate
Method
rotate
include/widget/TransformWidget.hpp:28–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
}
27
28
void rotate(float angle) {
29
float t[6];
30
nvgTransformRotate(t, angle);
31
nvgTransformPremultiply(transform, t);
32
}
33
34
void rotate(float angle, math::Vec origin) {
35
translate(origin);
Callers
nothing calls this directly
Calls
2
translate
Function · 0.85
neg
Method · 0.80
Tested by
no test coverage detected