MCPcopy Create free account
hub / github.com/chrxh/alien / getCorrectedPosition

Method getCorrectedPosition

source/EngineInterface/SpaceCalculator.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49RealVector2D SpaceCalculator::getCorrectedPosition(RealVector2D const& pos) const
50{
51 auto result = pos;
52 correctPosition(result);
53 return result;
54}
55
56RealVector2D SpaceCalculator::getCorrectedDirection(RealVector2D const& pos) const
57{

Callers 2

randomMultiplyMethod · 0.80
isCellPresentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected