Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danielesteban/softxels
/ functions
Functions
70 in github.com/danielesteban/softxels
⨍
Functions
70
◇
Types & classes
14
↓ 43 callers
Method
set
(key, value)
example/main.js:111
↓ 16 callers
Method
get
(key)
example/main.js:103
↓ 12 callers
Function
interpolate
src/workers/mesher.c:111
↓ 8 callers
Function
get
src/workers/mesher.c:64
↓ 6 callers
Function
SRGBToLinear
src/workers/mesher.c:106
↓ 6 callers
Function
run
(message, run)
voxelizer/cli.mjs:15
↓ 6 callers
Method
run
(operation)
src/core/worker.js:67
↓ 3 callers
Method
dispose
()
src/world.js:53
↓ 3 callers
Method
loadChunk
(x, y, z)
src/world.js:134
↓ 3 callers
Method
setupMaterial
()
src/chunk.js:12
↓ 3 callers
Method
update
({ bounds, vertices })
src/chunk.js:41
↓ 2 callers
Method
destination
(instance, attempts = 10)
example/core/fish.js:127
↓ 2 callers
Method
spawn
(instance, attempts = 10)
example/core/fish.js:104
↓ 2 callers
Method
test
(position, direction)
example/core/fish.js:82
↓ 1 callers
Method
animate
(animation)
example/core/fish.js:53
↓ 1 callers
Function
chunk
({ metadata: { chunkSize }, voxels })
voxelizer/module.mjs:80
↓ 1 callers
Function
computeNormal
src/workers/mesher.c:44
↓ 1 callers
Method
getBrush
(radius)
src/world.js:338
↓ 1 callers
Method
getChunk
(x, y, z)
src/world.js:96
↓ 1 callers
Method
getRenderGrid
(radius)
src/world.js:360
↓ 1 callers
Function
growBox
src/workers/mesher.c:94
↓ 1 callers
Method
onBlur
()
example/core/player.js:121
↓ 1 callers
Function
pack
({ chunks, deflate, metadata })
voxelizer/module.mjs:114
↓ 1 callers
Function
parse
({ buffer, ground, rotateX, rotateY, rotateZ })
voxelizer/module.mjs:4
↓ 1 callers
Method
patchFog
()
example/core/renderer.js:107
↓ 1 callers
Function
read
(input)
voxelizer/cli.mjs:25
↓ 1 callers
Method
reset
()
src/world.js:70
↓ 1 callers
Method
saveChunk
(key)
src/world.js:323
↓ 1 callers
Function
setColorFromNoise
src/workers/worldgen.c:13
↓ 1 callers
Method
updateChunks
(anchor)
src/world.js:207
↓ 1 callers
Method
updateLoadedChunks
()
src/world.js:248
↓ 1 callers
Method
updateVolume
(point, radius, value, color)
src/world.js:263
↓ 1 callers
Function
voxelize
({ geometry, gain, grid, resolution })
voxelizer/module.mjs:32
↓ 1 callers
Function
write
({ buffer, output })
voxelizer/cli.mjs:35
Method
constructor
()
example/main.js:29
Method
constructor
({ anchor, instances, model, radius, world, })
example/core/fish.js:10
Method
constructor
(dom)
example/core/renderer.js:12
Method
constructor
({ camera, renderer, })
example/core/player.js:10
Method
constructor
({ chunkMaterial, chunkSize, geometry, position, })
src/chunk.js:16
Method
constructor
({ chunkMaterial = null, chunkSize = 32, renderRadius = 5, storage = null, worldgen = null
src/world.js:20
Method
constructor
({ buffer, concurrency = navigator.hardwareConcurrency || 1, options, program, script, }
src/core/worker.js:2
Method
dispose
()
src/chunk.js:36
Method
dispose
()
src/core/worker.js:62
Method
importChunks
(buffer, autoUpdateChunks = true, autoUpdateScale = true)
src/world.js:178
Method
onAnimationTick
(animation)
example/main.js:149
Method
onAnimationTick
()
example/core/renderer.js:42
Method
onAnimationTick
(animation)
example/core/player.js:58
Function
onData
({ data: { x, y, z } })
src/workers/worldgen.js:32
Function
onData
({ data: chunks })
src/workers/mesher.js:27
Method
onData
({ data })
src/core/worker.js:40
Method
onFirstInteraction
()
example/main.js:181
Method
onFirstInteraction
()
example/core/renderer.js:74
Method
onKeyDown
({ keyCode, repeat })
example/core/player.js:129
Method
onKeyUp
({ keyCode, repeat })
example/core/player.js:159
Function
onLoad
({ data: { options: { chunkSize, generator, seed }, program: module } })
src/workers/worldgen.js:10
Function
onLoad
({ data: { options: { chunkSize }, program: module } })
src/workers/mesher.js:5
Method
onLoad
()
src/core/worker.js:30
Method
onMouseDown
({ button })
example/core/player.js:189
Method
onMouseMove
({ movementX, movementY })
example/core/player.js:209
Method
onMouseUp
({ button })
example/core/player.js:218
Method
onMouseWheel
({ deltaY })
example/core/player.js:238
Method
onPointerLock
()
example/core/player.js:254
Method
onResize
()
example/main.js:202
Method
onResize
()
example/core/renderer.js:82
Method
onVisibilityChange
()
example/core/renderer.js:97
Method
requestPointerLock
()
example/core/player.js:262
Function
run
src/workers/worldgen.c:42
Function
run
src/workers/mesher.c:128
Function
writeBundle
()
rollup.config.js:33
Function
writeBundle
()
example/rollup.config.js:46