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

Function makePart

source/part.js:29–31  ·  view source on GitHub ↗
(type, number = 0)

Source from the content-addressed store, hash-verified

27};
28
29export const makePart = (type, number = 0) => {
30 return { type, number };
31};
32
33export const PART_OUTSIDE_PITY_SCALE = 1.0;
34export const getMappedPositionPart = (position, pity = [0, 0]) => {

Callers 1

getMappedPositionPartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected