Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ vertex.spec.js
File
vertex.spec.js
packages/melonjs/tests/vertex.spec.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, it } from
"vitest"
;
2
import
{ Matrix3d, Vector2d } from
"../src/index.js"
;
3
import
{
4
computeVertexNormal,
Callers
nothing calls this directly
Calls
11
normalizeVertices
Function · 0.90
projectVertices
Function · 0.90
computeVertexNormal
Function · 0.90
convexHull
Function · 0.90
random
Method · 0.80
perspective
Method · 0.80
translate
Method · 0.45
rotate
Method · 0.45
scale
Method · 0.45
abs
Method · 0.45
push
Method · 0.45
Tested by
no test coverage detected