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

Method operator*

src/Core/Transform/UnitVector.cpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 UnitVector UnitVector::operator*(const UnitVector& mul) const
88 {
89 const UnitVector pVec = mul.to(unit);
90 return UnitVector(x * pVec.x, y * pVec.y, unit);
91 }
92
93 UnitVector& UnitVector::operator*=(const UnitVector& mul)
94 {

Callers

nothing calls this directly

Calls 2

UnitVectorClass · 0.85
toMethod · 0.80

Tested by

no test coverage detected