operator - method
- OffsetPair other
Subtracts the other.global from global and other.local from local.
Implementation
OffsetPair operator -(OffsetPair other) {
return OffsetPair(local: local - other.local, global: global - other.global);
}
Subtracts the other.global from global and other.local from local.
OffsetPair operator -(OffsetPair other) {
return OffsetPair(local: local - other.local, global: global - other.global);
}