MCPcopy 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

deleteFramebufferMethod · 0.80
renderMethod · 0.80
drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected