MCPcopy 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

translateFunction · 0.85
negMethod · 0.80

Tested by

no test coverage detected