Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ add
Method
add
src/Core/Transform/UnitVector.cpp:46–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void UnitVector::add(const UnitVector& vec)
47
{
48
const UnitVector pVec = vec.to(unit);
49
x += pVec.x;
50
y += pVec.y;
51
}
52
53
void UnitVector::add(const double x, const double y)
54
{
Callers
3
move
Method · 0.45
transformRef
Method · 0.45
move
Method · 0.45
Calls
1
to
Method · 0.80
Tested by
no test coverage detected