MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / operator+

Method operator+

src/Core/Transform/UnitVector.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 }
58
59 UnitVector UnitVector::operator+(const UnitVector& add) const
60 {
61 const UnitVector pVec = add.to(unit);
62 return UnitVector(x + pVec.x, y + pVec.y, unit);
63 }
64
65 UnitVector& UnitVector::operator+=(const UnitVector& add)
66 {

Callers

nothing calls this directly

Calls 2

UnitVectorClass · 0.85
toMethod · 0.80

Tested by

no test coverage detected