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

Method flip

include/math.hpp:254–256  ·  view source on GitHub ↗

Swaps the coordinates. Equivalent to a reflection across the `y = x` line. */

Source from the content-addressed store, hash-verified

252 Equivalent to a reflection across the `y = x` line.
253 */
254 Vec flip() const {
255 return Vec(y, x);
256 }
257 Vec min(Vec b) const {
258 return Vec(std::fmin(x, b.x), std::fmin(y, b.y));
259 }

Callers 1

onHoverScrollMethod · 0.80

Calls 1

VecClass · 0.85

Tested by

no test coverage detected