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

Function getAddedCorners

source/corners.js:89–96  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

87};
88
89export const getAddedCorners = (a, b) => {
90 const totals = [];
91 for (let i = 0; i < 4; i++) {
92 const total = addVector(a[i], b[i]);
93 totals.push(total);
94 }
95 return totals;
96};
97
98export const getRotatedToPositionCorners = (corners, number, position) => {
99 const center = getCornersCenter(corners);

Callers 2

hand.jsFile · 0.90
setWorldCornersFunction · 0.90

Calls 2

addVectorFunction · 0.90
pushMethod · 0.80

Tested by

no test coverage detected