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