MCPcopy Create free account
hub / github.com/TodePond/ScreenPond / getRelativePositions

Function getRelativePositions

source/position.js:44–49  ·  view source on GitHub ↗
(positions, corners)

Source from the content-addressed store, hash-verified

42};
43
44export const getRelativePositions = (positions, corners) => {
45 const relativePositions = positions.map((position) =>
46 getRelativePosition(position, corners)
47 );
48 return relativePositions;
49};
50
51// DEEPER screen position -> HIGHER screen position
52//

Callers 4

pickInScreenFunction · 0.90
getDrawnScreenFromRouteFunction · 0.90
addChildrenToQueueFunction · 0.90
setWorldCornersFunction · 0.90

Calls 1

getRelativePositionFunction · 0.85

Tested by

no test coverage detected