Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ set
Method
set
src/Core/Transform/UnitVector.cpp:33–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
void UnitVector::set(const UnitVector& vec)
34
{
35
const UnitVector pVec = vec.to(unit);
36
x = pVec.x;
37
y = pVec.y;
38
}
39
40
void UnitVector::set(const double x, const double y)
41
{
Callers
9
load
Method · 0.45
getMaximumDistanceBeforeCollision
Method · 0.45
execute
Method · 0.45
setRelativePosition
Method · 0.45
rotate
Method · 0.45
setPosition
Method · 0.45
setPosition
Method · 0.45
setSize
Method · 0.45
setPosition
Method · 0.45
Calls
1
to
Method · 0.80
Tested by
no test coverage detected