MCPcopy 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

loadMethod · 0.45
executeMethod · 0.45
setRelativePositionMethod · 0.45
rotateMethod · 0.45
setPositionMethod · 0.45
setPositionMethod · 0.45
setSizeMethod · 0.45
setPositionMethod · 0.45

Calls 1

toMethod · 0.80

Tested by

no test coverage detected