MCPcopy Create free account
hub / github.com/VCVRack/Rack / arg

Method arg

include/math.hpp:230–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 return x * b.x + y * b.y;
229 }
230 float arg() const {
231 return std::atan2(y, x);
232 }
233 float norm() const {
234 return std::hypot(x, y);
235 }

Callers 2

stepMethod · 0.80
onDragMoveMethod · 0.80

Calls 1

atan2Function · 0.85

Tested by

no test coverage detected