Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ operator-
Method
operator-
src/fl/math/geometry.h:266–266 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
264
}
265
266
vec2 operator-(const vec2 &p) const FL_NOEXCEPT { return vec2(x - p.x, y - p.y); }
267
268
vec2 operator+(const vec2 &p) const FL_NOEXCEPT { return vec2(x + p.x, y + p.y); }
269
Callers
nothing calls this directly
Calls
1
vec2
Class · 0.70
Tested by
no test coverage detected