MCPcopy Create free account
hub / github.com/melonjs/melonJS / polygon.spec.js

File polygon.spec.js

packages/melonjs/tests/polygon.spec.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, it } from "vitest";
2import { Matrix2d, Polygon, Vector2d } from "../src/index.js";
3
4describe("Shape : Polygon", () => {

Callers

nothing calls this directly

Calls 15

getIndicesMethod · 0.80
isConvexMethod · 0.80
getBoundsMethod · 0.65
cloneMethod · 0.65
floorMethod · 0.65
setShapeMethod · 0.45
translateMethod · 0.45
shiftMethod · 0.45
rotateMethod · 0.45
scaleMethod · 0.45
scaleVMethod · 0.45
transformMethod · 0.45

Tested by

no test coverage detected