Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sopiro/Physics
/ functions
Functions
685 in github.com/Sopiro/Physics
⨍
Functions
685
◇
Types & classes
163
↓ 2 callers
Method
applyImpulse
(lambda0: Vector2, lambda1: number)
src/motor.ts:141
↓ 2 callers
Method
applyImpulse
(lambda: Vector2)
src/prismatic.ts:120
↓ 2 callers
Method
applyImpulse
(lambda: number)
src/line.ts:104
↓ 2 callers
Method
applyImpulse
(lambda: number)
src/maxdistance.ts:95
↓ 2 callers
Method
applyImpulse
(lambda: Vector2)
src/revolute.ts:88
↓ 2 callers
Method
applyImpulse
(lambda: Vector3)
src/weld.ts:108
↓ 2 callers
Method
applyImpulse
(lambda: number)
src/contact.ts:154
↓ 2 callers
Method
applyImpulse
(lambda: number)
src/distance.ts:88
↓ 2 callers
Method
applyImpulse
(lambda: number)
src/angle.ts:62
↓ 2 callers
Method
calculateBetaAndGamma
()
out/joint.js:65
↓ 2 callers
Method
containsVertex
(vertex)
out/simplex.js:84
↓ 2 callers
Method
containsVertex
(vertex: Vector2)
src/simplex.ts:114
↓ 2 callers
Method
drawBody
(b, drawCenterOfMass = false, lineWidth = 1, outlined = true, filled = false, outLineColor = "#000000", fillCo
out/renderer.js:115
↓ 2 callers
Method
drawBody
(b: RigidBody, drawCenterOfMass: boolean = false, lineWidth: number = 1, outlined = true, filled = false,
src/renderer.ts:171
↓ 2 callers
Method
drawVectorP
(p1, p2, arrowSize = 0.03)
out/renderer.js:95
↓ 2 callers
Method
drawVectorP
(p1: Vector2, p2: Vector2, arrowSize: number = 0.03)
src/renderer.ts:146
↓ 2 callers
Function
findFarthestEdge
(b, dir)
out/detection.js:104
↓ 2 callers
Function
findFarthestEdge
(b: RigidBody, dir: Vector2)
src/detection.ts:166
↓ 2 callers
Method
getContactInfo
(flip)
out/contact.js:338
↓ 2 callers
Method
getContactInfo
(flip: boolean)
src/contact.ts:493
↓ 2 callers
Method
init
(viewportTransform, projectionTransform, cameraTransform)
out/renderer.js:19
↓ 2 callers
Method
init
(viewportTransform: Matrix3, projectionTransform: Matrix3, cameraTransform: Matrix3)
src/renderer.ts:35
↓ 2 callers
Function
make_pair_natural
(a, b)
out/util.js:101
↓ 2 callers
Method
prepare
()
out/line.js:29
↓ 2 callers
Method
prepare
()
src/grab.ts:29
↓ 2 callers
Method
remove
(node)
out/aabbtree.js:178
↓ 2 callers
Method
remove
(node: Node)
src/aabbtree.ts:251
↓ 2 callers
Method
rotate
(r)
out/entity.js:37
↓ 2 callers
Method
rotate
(r: number)
src/entity.ts:61
↓ 2 callers
Method
scale
()
out/entity.js:21
↓ 2 callers
Method
scale
()
src/entity.ts:37
↓ 2 callers
Method
surprise
()
out/world.js:252
↓ 2 callers
Method
surprise
()
src/world.ts:362
↓ 2 callers
Function
toRigidBody
(aabb)
out/aabb.js:24
↓ 2 callers
Method
translate
(t)
out/entity.js:33
↓ 2 callers
Method
translate
(t: Vector2)
src/entity.ts:55
↓ 2 callers
Method
traverse
(callback)
out/aabbtree.js:295
↓ 2 callers
Method
traverse
(callback: (node: Node) => void)
src/aabbtree.ts:420
↓ 1 callers
Method
add
(body)
out/aabbtree.js:14
↓ 1 callers
Method
add
(v)
out/math.js:131
↓ 1 callers
Method
add
(v: Vector3)
src/math.ts:211
↓ 1 callers
Method
add
(body: RigidBody)
src/aabbtree.ts:29
↓ 1 callers
Method
addBody
(body)
out/island.js:101
↓ 1 callers
Method
addBody
(body: RigidBody)
src/island.ts:148
↓ 1 callers
Method
addManifold
(manifold)
out/island.js:104
↓ 1 callers
Method
addManifold
(manifold: ContactManifold)
src/island.ts:153
↓ 1 callers
Method
applyImpulse
(lambda)
out/contact.js:257
↓ 1 callers
Method
applyImpulse
(lambda: Vector2)
src/contact.ts:355
↓ 1 callers
Method
checkCollision
(a, b, pairs, checked)
out/aabbtree.js:259
↓ 1 callers
Method
checkCollision
(a: Node, b: Node, pairs: Pair<RigidBody, RigidBody>[], checked: Set<number>)
src/aabbtree.ts:370
↓ 1 callers
Method
div
(s)
out/math.js:137
↓ 1 callers
Method
div
(s)
out/math.js:223
↓ 1 callers
Method
div
(s: number)
src/math.ts:221
↓ 1 callers
Method
div
(s: number)
src/math.ts:356
↓ 1 callers
Method
drawJoint
(j)
out/renderer.js:170
↓ 1 callers
Method
drawJoint
(j: Joint)
src/renderer.ts:248
↓ 1 callers
Method
drawText
(x, y, content, fontSize = 20)
out/renderer.js:81
↓ 1 callers
Method
drawText
(x: number, y: number, content: any, fontSize = 20)
src/renderer.ts:127
↓ 1 callers
Method
drawVector
(p, v, arrowSize = 0.03)
out/renderer.js:86
↓ 1 callers
Method
drawVector
(p: Vector2, v: Vector2, arrowSize: number = 0.03)
src/renderer.ts:134
↓ 1 callers
Function
epa
(b1, b2, gjkResult)
out/detection.js:82
↓ 1 callers
Function
epa
(b1: RigidBody, b2: RigidBody, gjkResult: Simplex)
src/detection.ts:134
↓ 1 callers
Function
findContactPoints
(n, a, b)
out/detection.js:159
↓ 1 callers
Function
findContactPoints
(n: Vector2, a: RigidBody, b: RigidBody)
src/detection.ts:251
↓ 1 callers
Function
fix
(aabb: AABB)
src/aabb.ts:24
↓ 1 callers
Method
fix
(limit = 1e-13)
out/math.js:14
↓ 1 callers
Method
fix
(limit = 1e-13)
src/math.ts:25
↓ 1 callers
Method
getClosest
(q)
out/simplex.js:13
↓ 1 callers
Method
getClosest
(q: Vector2)
src/simplex.ts:30
↓ 1 callers
Method
getClosestEdge
()
out/polytope.js:16
↓ 1 callers
Method
getClosestEdge
()
src/polytope.ts:32
↓ 1 callers
Method
getCollisionPairs
()
out/aabbtree.js:249
↓ 1 callers
Method
getCollisionPairs
()
src/aabbtree.ts:355
↓ 1 callers
Function
gjk
(b1, b2)
out/detection.js:46
↓ 1 callers
Function
gjk
(b1: RigidBody, b2: RigidBody)
src/detection.ts:74
↓ 1 callers
Method
handleInput
(delta)
out/game.js:70
↓ 1 callers
Method
handleInput
(delta: number)
src/game.ts:101
↓ 1 callers
Method
inverted
()
out/math.js:408
↓ 1 callers
Method
inverted
()
src/math.ts:608
↓ 1 callers
Function
lerp
(left, right, per)
out/util.js:120
↓ 1 callers
Function
lerp
(left: number, right: number, per: number)
src/util.ts:189
↓ 1 callers
Method
loadIdentity
()
out/math.js:254
↓ 1 callers
Method
loadIdentity
()
src/math.ts:404
↓ 1 callers
Method
mulVector3
(right)
out/math.js:379
↓ 1 callers
Method
mulVector3
(right: Vector3)
src/math.ts:563
↓ 1 callers
Method
normalize
()
out/math.js:28
↓ 1 callers
Method
normalize
()
src/math.ts:47
↓ 1 callers
Method
pick
(screenPosition)
out/renderer.js:26
↓ 1 callers
Method
pick
(screenPosition: Vector2)
src/renderer.ts:44
↓ 1 callers
Method
queryRegion
(region)
out/world.js:219
↓ 1 callers
Method
queryRegion
(region: AABB)
src/world.ts:314
↓ 1 callers
Function
random
(left = -1, right = 1)
out/util.js:54
↓ 1 callers
Function
random
(left: number = -1, right: number = 1)
src/util.ts:92
↓ 1 callers
Method
removePassTestPair
(bodyA, bodyB)
out/world.js:238
↓ 1 callers
Method
removePassTestPair
(bodyA: RigidBody, bodyB: RigidBody)
src/world.ts:344
↓ 1 callers
Method
render
()
out/engine.js:60
↓ 1 callers
Method
render
()
src/engine.ts:96
↓ 1 callers
Method
repositionCenterOfMass
(p)
out/polygon.js:39
↓ 1 callers
Method
repositionCenterOfMass
(p: Vector2)
src/polygon.ts:60
↓ 1 callers
Method
reset
()
out/timer.js:6
← previous
next →
101–200 of 685, ranked by callers