Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ body.spec.js
File
body.spec.js
packages/melonjs/tests/body.spec.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ beforeEach, describe, expect, it } from
"vitest"
;
2
import
{
3
Body,
4
Bounds,
Callers
nothing calls this directly
Calls
15
addShape
Method · 0.80
getShape
Method · 0.80
removeShapeAt
Method · 0.80
removeShape
Method · 0.80
setFriction
Method · 0.80
respondToCollision
Method · 0.80
getBounds
Method · 0.65
setStatic
Method · 0.65
setVelocity
Method · 0.65
getVelocity
Method · 0.65
clone
Method · 0.65
applyForce
Method · 0.65
Tested by
no test coverage detected