MCPcopy Create free account

hub / github.com/Ameobea/sketches-3d / functions

Functions4,627 in github.com/Ameobea/sketches-3d

↓ 5 callersFunctiongetComposition
( id: number, fetch: typeof globalThis.fetch = globalThis.fetch, sessionID?: string, adminToken?: stri
src/geoscript/geotoyAPIClient.ts:329
↓ 5 callersFunctiongetCompositionLatest
( id: number, fetch: typeof globalThis.fetch = globalThis.fetch, sessionID?: string, adminToken?: stri
src/geoscript/geotoyAPIClient.ts:391
↓ 5 callersFunctiongetEngine
()
src/viz/terrain/TerrainGenWorker/TerrainGenWorker.worker.ts:23
↓ 5 callersMethodgetWorker
()
src/geoscript/workerManager.ts:20
↓ 5 callersMethodgetWorldTransform
()
src/ammojs/ammoTypes.ts:251
↓ 5 callersMethodget_builtin_fn_name
(&self)
src/viz/wasm/geoscript/src/ast.rs:1441
↓ 5 callersFunctionget_db_pool
()
geoscript_backend/src/db.rs:17
↓ 5 callersMethodget_type
(&self)
src/viz/wasm/geoscript/src/lib.rs:974
↓ 5 callersFunctiongradientBackground
(c: GradientBackgroundConfig)
src/viz/SkyStack/backgrounds/gradient.ts:52
↓ 5 callersFunctioninfer_bitor_op_result_type
Result type of `lhs | rhs` when `rhs` is not callable: `|` falls through from pipeline to `bit_or` — a boolean union for meshes, a bitwise-or for ints
src/viz/wasm/geoscript/src/type_infer.rs:650
↓ 5 callersFunctioninjectInputs
( base: GizmoValuesByModule, inputs: Record<string, InputValueJson> | undefined, moduleNames: string[] )
src/viz/levelDef/inputInjection.ts:29
↓ 5 callersMethodis_defined
(&self, name: Sym)
src/viz/wasm/geoscript_analysis/src/analysis.rs:178
↓ 5 callersMethodis_rng_dependent
(&self)
src/viz/wasm/geoscript/src/lib.rs:461
↓ 5 callersMethoditer_vertices
(&self)
src/viz/wasm/mesh/src/linked_mesh.rs:1080
↓ 5 callersFunctionlcToPos
(doc: Text, line: number, col: number)
src/geoscript/analysisExtensions.ts:20
↓ 5 callersMethodload
(def: TextureDef, name: string)
src/viz/levelDef/texturePool.ts:80
↓ 5 callersFunctionloadRawTexture
(url: string)
src/viz/textureLoading.ts:23
↓ 5 callersMethodlookup_builtin
Look up the `FnDef` for a builtin function name, resolving aliases. Returns (canonical_name, def).
src/viz/wasm/geoscript_analysis/src/lib.rs:120
↓ 5 callersFunctionmatch_binop_by_arg_types
( fn_entry_ix: usize, lhs_ty: ArgType, rhs_ty: ArgType, )
src/viz/wasm/geoscript/src/lib.rs:1449
↓ 5 callersFunctionmaybeLoadTexture
( loader: THREE.ImageBitmapLoader, handle?: string )
src/geoscript/materials.ts:45
↓ 5 callersFunctionmerge_types
Merge two types into a union-ish representation. Used for combining branch types from conditionals and collecting exit types from closure bodies. Ru
src/viz/wasm/geoscript/src/ty.rs:125
↓ 5 callersFunctionnew_tangent_channel
()
src/viz/wasm/geoscript/src/mesh_ops/compute_uvs.rs:20
↓ 5 callersFunctionnew_uv_channel
()
src/viz/wasm/geoscript/src/mesh_ops/compute_uvs.rs:16
↓ 5 callersFunctionnode
(id: string, instances: Transform3[], children: string[] = [])
src/geoscript/runner/worldMatrixCache.test.ts:17
↓ 5 callersMethodnormal
(&self, verts: &SlotMap<VertexKey, Vertex>)
src/viz/wasm/mesh/src/linked_mesh.rs:142
↓ 5 callersFunctiononComplete
(typeConverters)
src/viz/wasm/cgal/index.js:652
↓ 5 callersMethodonGround
()
src/ammojs/ammoTypes.ts:136
↓ 5 callersMethodonTreeChange
(tree: CsgTreeNode, pushUndo = true)
src/viz/levelDef/csgEditController.svelte.ts:428
↓ 5 callersFunctionoutward_tri
Triangle indices wound so the face normal points away from the origin, for origin-centered convex solids (where "outward" means the normal agrees with
src/viz/wasm/mesh/src/linked_mesh.rs:1046
↓ 5 callersMethodparam_for_length
(&self, length: f32)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:50
↓ 5 callersFunctionparse_color_value
(color: &Value)
src/viz/wasm/geoscript/src/lights.rs:11
↓ 5 callersFunctionparse_program_maybe_with_prelude_and_ambient
Like `parse_program_maybe_with_prelude`, but also prepends an `ambient_src` block (e.g. a Geotoy `_globals` node) after the prelude so its definitions
src/viz/wasm/geoscript/src/lib.rs:3865
↓ 5 callersMethodpeek
()
src/viz/bulletHell/Scheduler.ts:70
↓ 5 callersMethodpost
(context: ResponseContext)
src/api/runtime.ts:389
↓ 5 callersFunctionprojectAxisDrag
( camera: THREE.Camera, axisOrigin: THREE.Vector3, axisDir: THREE.Vector3, ndcStart: { x: number; y: n
src/viz/gizmos/dragMath.ts:72
↓ 5 callersFunctionprojectUniformScale
( camera: THREE.Camera, origin: THREE.Vector3, ndcStart: { x: number; y: number }, ndcNow: { x: number
src/viz/gizmos/dragMath.ts:177
↓ 5 callersMethodquery
(&mut self, aabb: &AABB, mut visitor: impl FnMut(&AABB, &T) -> ControlFlow<(), ()>)
src/viz/wasm/stone/src/aabb_tree.rs:170
↓ 5 callersFunctionread_compressed_u32_block
(data: &[u8], offset: &mut usize)
src/viz/wasm/flight_recorder/src/lib.rs:729
↓ 5 callersFunctionrecord_non_const_binding
Record the result of a non-const binding (an `Assignment` / `Export` / closure-local whose RHS did not fold to a literal) into `scope`. Classifies th
src/viz/wasm/geoscript/src/ast.rs:2912
↓ 5 callersMethodremoveItem
(slotIx: number)
src/viz/inventory/Inventory.ts:37
↓ 5 callersFunctionrender
( url: string, abortController: AbortController, opts: RenderOpts = {} )
geoscript_backend/thumbnail_generator/render.ts:204
↓ 5 callersFunctionresolve_builtin_impl
( name: &str, )
src/viz/wasm/geoscript/src/builtins.rs:9081
↓ 5 callersMethodsample_by_length
(&self, length: f32)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:958
↓ 5 callersFunctionsample_path_subpaths
Discretizes a path callable into per-subpath polylines. Returns one `(points, is_closed)` entry per subpath. For paths backed by a `PathSampler` impl
src/viz/wasm/geoscript/src/builtins/trace_path.rs:677
↓ 5 callersFunctionscan_line_comment
Returns the offset of the terminating `\n` (or end of input).
src/viz/wasm/geoscript/src/preprocess.rs:155
↓ 5 callersFunctionserialize_case
(name: &str, m: &OwnedIndexedMesh, out: &mut String)
src/viz/wasm/mesh/tests/attribute_snapshot.rs:85
↓ 5 callersMethodsetCurTimeSeconds
(newCurTimeSeconds: number)
src/viz/shaders/volumetric/volumetric.ts:265
↓ 5 callersMethodsetIdentity
()
src/ammojs/ammoTypes.ts:11
↓ 5 callersMethodsetMaterialFactories
* Register factories for `type: "generated"` materials (keyed by material name). Must be called * synchronously inside `processLoadedScene`, before
src/viz/levelDef/loadLevelDef.ts:109
↓ 5 callersMethodsetSceneRuntime
* Wire a SceneRuntime: objects with `behaviors`/`spawner` get entities + behaviors once placed * and physics is ready. `sceneName` resolves level-l
src/viz/levelDef/loadLevelDef.ts:116
↓ 5 callersMethodsetSize
(width: number, height: number)
src/viz/shaders/volumetric/volumetric.ts:302
↓ 5 callersMethodsetTransform
* Set the entity's parent-local transform. Writes directly to the Three.js * object's local `position`/`quaternion`/`scale`, and pushes the compos
src/viz/sceneRuntime/Entity.ts:205
↓ 5 callersMethodsetTransformMode
(mode: TransformMode)
src/viz/levelDef/LevelEditor.svelte.ts:406
↓ 5 callersFunctionset_channel
(channel: &mut SecondaryMap<K, Vec3>, key: K, value: Option<Vec3>)
src/viz/wasm/mesh/src/linked_mesh.rs:459
↓ 5 callersMethodset_rng_state
(&self, state: Pcg32)
src/viz/wasm/geoscript/src/lib.rs:2088
↓ 5 callersFunctionstringToUTF8
(str, outPtr, maxBytesToWrite)
src/viz/wasm/uv_unwrap/uv-unwrap.js:1976
↓ 5 callersFunctionstringToUTF8
(str, outPtr, maxBytesToWrite)
src/viz/wasm/cgal/index.js:1883
↓ 5 callersFunctionswap_retain_sv
Same as SmallVec::retain but it doesn't preserve order of elements and can possibly work a bit faster if only removing a few elements.
src/viz/wasm/mesh/src/linked_mesh.rs:109
↓ 5 callersFunctionsweep
(NdotV, dir, uv0Fn, NP, F, { classify, normGrad } = {})
scripts/pomMarcherHarness/marchers.mjs:154
↓ 5 callersMethodsyncSceneNodePhysics
(node: LevelSceneNode)
src/viz/levelDef/LevelEditor.svelte.ts:1552
↓ 5 callersMethodtick
* Called every physics tick. * Return `'remove'` to detach this behavior after the current tick.
src/viz/sceneRuntime/types.ts:13
↓ 5 callersFunctionto_f32
(v: Vec3d)
src/viz/wasm/mesh/src/triangle_intersection.rs:10
↓ 5 callersFunctiontrenchOff
scripts/pomMarcherHarness/grateTrench.mjs:21
↓ 5 callersFunctiontri_tri_intersection
Tests if two triangles intersect using the Guigue-Devillers algorithm. All orientation predicates are computed in f64 for robustness with f32 inputs.
src/viz/wasm/mesh/src/triangle_intersection.rs:39
↓ 5 callersFunctiontriangle_contains_point
(vert_coords: &[Vec3; 3], p: Vec3, epsilon: f32)
src/viz/wasm/mesh/src/csg.rs:560
↓ 5 callersFunctionuninit
()
src/viz/wasm/common/src/lib.rs:43
↓ 5 callersFunctionvec_generic
( vecCtor: new () => any, mem: () => Float32Array | Uint32Array, vals: number[] | Float32Array | U
src/viz/wasm/cgal/cgal.ts:50
↓ 5 callersFunctionvisit
(id: string)
src/viz/levelDef/loadLevelDef.ts:159
↓ 5 callersFunctionvtx_pos
(vtx_key: VertexKey, mesh: &LinkedMesh<T>)
src/viz/wasm/mesh/src/csg.rs:177
↓ 5 callersFunctionwalk
(node: CsgTreeNode, polarity: 'positive' | 'negative', path: string)
src/viz/levelDef/csgTreeUtils.ts:86
↓ 5 callersMethodwalk_one_smooth_fan
Accumulates faces that are part of a single smooth fan around `vtx_key` into `smooth_fan_faces`. Returns the normal of the smooth fan on `vtx_key`, w
src/viz/wasm/mesh/src/linked_mesh.rs:2151
↓ 5 callersFunctionwithWorldSpaceTransform
(object: T, cb: (object: T) => R)
src/viz/util/three.ts:44
↓ 5 callersFunctionxy_plane_frame
()
src/viz/wasm/geoscript/src/mesh_ops/tessellate_polygon.rs:608
↓ 4 callersFunctionUTF8ToString
(ptr, maxBytesToRead)
src/viz/wasm/uv_unwrap/uv-unwrap.js:558
↓ 4 callersMethodaddBehavior
(behavior: Behavior)
src/viz/sceneRuntime/Entity.ts:180
↓ 4 callersMethodaddBypassMesh
(mesh: THREE.Mesh)
src/viz/passes/emissiveBypassPass.ts:71
↓ 4 callersFunctionaddInstance
(tree: TreeDef, nodeId: string, transform?: Transform3)
src/viz/scenes/geoscriptPlayground/treeOps.ts:222
↓ 4 callersMethodaddJumpPad
(pad: BtJumpPad)
src/ammojs/ammoTypes.ts:143
↓ 4 callersMethodadd_vertex_interpolated
Inserts a fresh vertex, blending every passive channel from the weighted `srcs` per the channel's interp rule (the split/cut case). Named normals stay
src/viz/wasm/mesh/src/linked_mesh.rs:425
↓ 4 callersFunctionapplyPreset
(p: Preset)
src/viz/scenes/pomBench/pomBench.ts:353
↓ 4 callersFunctionarc_aabb
Returns the analytic 2D AABB of the elliptical arc covered by the given parametrization. `theta_delta` may be positive or negative (signed sweep). Cr
src/viz/wasm/geoscript/src/builtins/trace_path.rs:1276
↓ 4 callersFunctionarg_ty_fits
True if an abstract arg type is compatible with a parameter's `valid_types` bitflags. A non- concrete type (Union / partial application / Unknown) fi
src/viz/wasm/geoscript/src/type_infer.rs:328
↓ 4 callersMethodas_any
(&self)
src/viz/wasm/geoscript/src/mesh_ops/rail_sweep.rs:2073
↓ 4 callersMethodas_any
(&self)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:365
↓ 4 callersMethodas_light
(&self)
src/viz/wasm/geoscript/src/lib.rs:877
↓ 4 callersFunctionbuildAxisMaterial
(opts: AxisMaterialOpts)
src/viz/gizmos/gizmoMaterials.ts:81
↓ 4 callersFunctionbuildEmptyRunStats
()
src/geoscript/runner/geoscriptRunner.ts:25
↓ 4 callersFunctionbuildIdentityTransform
()
src/geoscript/geotoyAPIClient.ts:149
↓ 4 callersFunctionbuildWorldMatrixCache
(tree: TreeDef, parentMap: Map<string, string>)
src/geoscript/runner/worldMatrixCache.ts:46
↓ 4 callersMethodbuild_type_env
Snapshot this scope (walking the parent chain) into a [`TypeEnv`] suitable for use with [`crate::type_infer::infer_expr`]. Each scope frame becomes a
src/viz/wasm/geoscript/src/ast.rs:2642
↓ 4 callersFunctioncallable_requires_rng_state
(callable: &Callable)
src/viz/wasm/geoscript/src/optimizer.rs:102
↓ 4 callersFunctioncap_one_end
Triangulates an end-ring. `other_centroid` (the opposite ring's centroid) defines outward direction for consistent winding. `flip_normals` matches the
src/viz/wasm/geoscript/src/mesh_ops/parametric_surface.rs:71
↓ 4 callersFunctioncarve
(cx, cy)
scripts/pomMarcherHarness/raisedTiles.mjs:16
↓ 4 callersFunctioncellAt
(c, p)
scripts/pomMarcherHarness/grateTrench.mjs:76
↓ 4 callersFunctioncgal_get_is_loaded
()
src/viz/wasm/cgal/cgal.ts:34
↓ 4 callersFunctioncgal_get_last_error
()
src/viz/wasm/cgal/cgal.ts:38
↓ 4 callersMethodclearSelectionHighlights
()
src/viz/levelDef/LevelEditor.svelte.ts:285
↓ 4 callersMethodcompute_angle_at_vertex
(&self, vtx_ix: usize, verts: &SlotMap<VertexKey, Vertex>)
src/viz/wasm/mesh/src/linked_mesh.rs:157
↓ 4 callersMethodcompute_volume_centroid
Computes the centroid of the volume enclosed by a 2-manifold mesh using the divergence theorem. Returns `None` if the mesh is not a closed 2-manifold
src/viz/wasm/mesh/src/linked_mesh.rs:4157
↓ 4 callersMethodconfigure
* Configure the controller for a new view mode. * * @param overrideAngles If supplied, used instead of deriving angles from the *
src/viz/cameraController.ts:130
← previousnext →401–500 of 4,627, ranked by callers