MCPcopy Create free account

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

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

↓ 4 callersMethodsetFogEnabled
* Toggle the post-processing fog (FinalPass + EmissiveBloomPass filter). * No-op for pipelines that didn't supply a `fogShader`. Recompiles the
src/viz/index.ts:64
↓ 4 callersMethodsetFromProjectionMatrix
(projectionMatrix: THREE.Matrix4, maxFar: number)
src/viz/shadows/CascadedShadowMap.ts:18
↓ 4 callersMethodsetRotation
(quat: BtQuaternion)
src/ammojs/ammoTypes.ts:14
↓ 4 callersFunctionsetSceneEnvironment
( scene: THREE.Scene, env: { envMap: THREE.Texture; intensity: number } | null )
src/viz/shaders/customShader.ts:422
↓ 4 callersFunctionsetStatus
(s: string)
src/viz/scenes/pomBench/pomBench.ts:439
↓ 4 callersMethodsetTime
(timeSeconds: number)
src/viz/SkyStack/SkyStack.ts:69
↓ 4 callersFunctionset_tangent
(m: &mut LinkedMesh<()>, k: VertexKey, v: [f32; 3])
src/viz/wasm/mesh/tests/attribute_snapshot.rs:253
↓ 4 callersFunctionset_uv
(m: &mut LinkedMesh<()>, k: VertexKey, v: [f32; 2])
src/viz/wasm/mesh/tests/attribute_snapshot.rs:237
↓ 4 callersMethodset_with_type
Insert a binding whose type is already known. Writes the tracked value and records `ty` in the scope's side-table so that [`build_type_env`] can surf
src/viz/wasm/geoscript/src/ast.rs:2633
↓ 4 callersFunctionsplitPath
(path: string)
src/viz/levelDef/csgTreeUtils.ts:8
↓ 4 callersMethodsplit_edge_cb
Splits an edge in half, creating a new vertex in the middle. All faces that include this edge are split into two faces with new edges being created f
src/viz/wasm/mesh/src/linked_mesh.rs:2783
↓ 4 callersMethodsplit_off_faces
Clones `src` into a fresh vertex inheriting its position, normals, and passive channels, then repoints `faces` onto the clone. Introduces a UV/materia
src/viz/wasm/mesh/src/linked_mesh.rs:442
↓ 4 callersFunctionstableSerializeTree
(tree: TreeDef)
src/viz/scenes/geoscriptPlayground/treeState.svelte.ts:74
↓ 4 callersFunctionstitch_apex_to_row
( apex_idx: usize, row_base_idx: usize, row_count: usize, v_closed: bool, apex_is_first: bool, fli
src/viz/wasm/geoscript/src/mesh_ops/fku_stitch.rs:777
↓ 4 callersMethodstop
()
src/viz/audio/SoundEngine.ts:176
↓ 4 callersMethodsubdivide_by_line
Skewers the mesh with an infinite line. `eps` is a world-space snap tolerance for the hit point against nearby vertices/edges. No-op for lines copla
src/viz/wasm/mesh/src/linked_mesh.rs:3315
↓ 4 callersMethodsubdivide_by_plane
(&mut self, plane: &Plane)
src/viz/wasm/mesh/src/linked_mesh.rs:3218
↓ 4 callersMethodsyncAfterSelectionChange
* After any selection change, sync the transform gizmo attachment, * CSG/material editor state, and reactive UI state.
src/viz/levelDef/LevelEditor.svelte.ts:860
↓ 4 callersFunctionsyncSchema
(filePath: string, json: Record<string, unknown>, schemaPath: string)
src/viz/levelDef/levelSourceFiles.server.ts:21
↓ 4 callersMethodterminate
()
src/viz/levelDef/csgResolveRuntime.ts:19
↓ 4 callersFunctiontest_walk_smooth_fan
( mesh: &mut LinkedMesh, center_vtx_key: VertexKey, )
src/viz/wasm/mesh/src/linked_mesh.rs:4477
↓ 4 callersFunctionthrowInternalError
src/viz/wasm/uv_unwrap/uv-unwrap.js:692
↓ 4 callersFunctionthrowInternalError
src/viz/wasm/cgal/index.js:646
↓ 4 callersFunctionthrowUnboundTypeError
(message, types)
src/viz/wasm/cgal/index.js:1368
↓ 4 callersMethodto_lyon_fill_rule
(self)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:181
↓ 4 callersMethodtransform
(&self)
src/viz/wasm/point_distribute/src/lib.rs:53
↓ 4 callersFunctiontransform_segment
( seg: &PathSegment, m: &Matrix3<f32>, )
src/viz/wasm/geoscript/src/builtins/trace_path.rs:1368
↓ 4 callersMethodunregister
()
src/viz/collision.ts:181
↓ 4 callersFunctionupcastPointer
(ptr, ptrClass, desiredClass)
src/viz/wasm/uv_unwrap/uv-unwrap.js:1172
↓ 4 callersMethodupdate
()
src/viz/levelDef/TransformHandler.ts:96
↓ 4 callersMethoduser_data_mut
(&self, mesh: &'a mut LinkedMesh<T>)
src/viz/wasm/mesh/src/csg.rs:433
↓ 4 callersFunctionuvs
(mesh: &mesh::LinkedMesh<()>)
src/viz/wasm/geoscript/src/mesh_ops/tube_uvs.rs:871
↓ 4 callersMethodvalidate_val
(&self, val: &Value)
src/viz/wasm/geoscript/src/ast.rs:54
↓ 4 callersFunctionvec_f32
(vals: number[] | Float32Array)
src/geoscript/geodesics.ts:60
↓ 4 callersMethodvisit_idents
(&self, cb: &mut impl FnMut(Sym))
src/viz/wasm/geoscript/src/ast.rs:117
↓ 4 callersMethodvnorm
(self)
src/viz/wasm/geoscript/src/builtins/fillet_path.rs:30
↓ 4 callersFunctionwithPhysicsContext
( viz: Pick<Viz, 'fpCtx' | 'collisionWorldLoadedCbs'>, cb: (fpCtx: NonNullable<Viz['fpCtx']>) => void )
src/viz/util/physics.ts:8
↓ 3 callersFunctionabort
@param {string|number=} what
src/viz/wasm/uv_unwrap/uv-unwrap.js:313
↓ 3 callersFunctionabort
@param {string|number=} what
src/viz/wasm/cgal/index.js:313
↓ 3 callersFunctionadd_impl
(def_ix: usize, lhs: &Value, rhs: &Value)
src/viz/wasm/geoscript/src/builtins.rs:194
↓ 3 callersMethodadd_vertex_cloned_from
Inserts a fresh vertex, cloning every passive channel value from `src` (the seam-duplicate case). Named normals are the caller's responsibility — they
src/viz/wasm/mesh/src/linked_mesh.rs:415
↓ 3 callersMethodadoptEntity
* Take ownership of an entity that was created outside this runtime (e.g. by * {@link BulletPhysics} during level-def physics registration) so its
src/viz/sceneRuntime/SceneRuntime.ts:121
↓ 3 callersFunctionangle_between
(a: Vec2, b: Vec2)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:2428
↓ 3 callersFunctionapplyAudioSettings
(audio: Conf.AudioSettings)
src/viz/index.ts:118
↓ 3 callersFunctionapplyGeotoyUndoEntry
( tree: TreeDef, entry: GeotoyUndoEntry, direction: 'undo' | 'redo' )
src/viz/scenes/geoscriptPlayground/treeUndoSystem.ts:89
↓ 3 callersFunctionapplyMaterial
(mesh: THREE.Mesh, material: THREE.Material | (() => THREE.Material))
src/viz/parkour/collectables.ts:40
↓ 3 callersMethodapplyModeVisibility
()
src/viz/gizmos/customGizmo.ts:460
↓ 3 callersMethodapplyRenderConfig
* Rebuild the full preview scene for the given selection state. * Recomputes node polarities from the current asset def, then fires async * subt
src/viz/levelDef/csgPreviewScene.ts:96
↓ 3 callersMethodapplySelectionHighlights
()
src/viz/levelDef/LevelEditor.svelte.ts:292
↓ 3 callersFunctionapplyShapeBuildResult
( buildResult: CollisionShapeBuildResult, pos: THREE.Vector3, quat: THREE.Quaternion )
src/viz/collisionShapes.ts:38
↓ 3 callersFunctionapplySnapshot
(obj: THREE.Object3D, snap: TransformSnapshot)
src/viz/util/transformSnapshot.ts:27
↓ 3 callersFunctionapply_twist
(normal: Vec3, binormal: Vec3, twist: f32)
src/viz/wasm/geoscript/src/mesh_ops/rail_sweep.rs:216
↓ 3 callersMethodas_map
(&self)
src/viz/wasm/geoscript/src/lib.rs:891
↓ 3 callersMethodas_material
(&self, ctx: &EvalCtx)
src/viz/wasm/geoscript/src/lib.rs:953
↓ 3 callersFunctionas_path_tracer
(callable: &Callable)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:394
↓ 3 callersFunctionat
(x: number, y: number, z: number)
src/geoscript/runner/bakeComposition.test.ts:12
↓ 3 callersMethodattachToSelection
Single → `Object3DTarget`; multi → `PivotTarget` at the centroid.
src/viz/levelDef/TransformHandler.ts:141
↓ 3 callersFunctionattrArray
(g: THREE.BufferGeometry, name: string)
src/viz/scenes/geoscriptPlayground/evalResult.ts:43
↓ 3 callersMethodbake_transform
Bakes affine transform `m` into the mesh in place: positions by `m`, shading/displacement normals by the inverse-transpose of its linear part, and `Di
src/viz/wasm/mesh/src/linked_mesh.rs:4001
↓ 3 callersFunctionbigintToI53Checked
src/viz/wasm/uv_unwrap/uv-unwrap.js:2286
↓ 3 callersFunctionbind_closure_params_into_scope
Bind a closure's declared parameters into `scope` as [`TrackedValue::Arg`] entries, attaching any declared parameter type as an `AbstractType` side-ta
src/viz/wasm/geoscript/src/ast.rs:2885
↓ 3 callersFunctionboundary_edges
(m: &LinkedMesh<()>, f: FaceKey)
src/viz/wasm/geoscript/src/mesh_ops/strip_uvs.rs:143
↓ 3 callersFunctionbox
(sx: number, sy: number, sz: number, mat: THREE.Material)
src/viz/scenes/csm_test.ts:55
↓ 3 callersMethodbuild
(ctx: &EvalCtx, program: &Program)
src/viz/wasm/geoscript_analysis/src/analysis.rs:65
↓ 3 callersFunctionbuildBenchMaterial
(name: string, debugSamples: boolean)
src/viz/scenes/pomBench/pomBench.ts:218
↓ 3 callersFunctionbuildCacheKey
(text: string, params: TextToPathParams)
src/geoscript/text_to_path.ts:18
↓ 3 callersFunctionbuildCheckpointMaterial
( viz: Viz, color: [number, number, number] = DEFAULT_CHECKPOINT_COLOR, extras: CheckpointMaterialExtras
src/viz/materials/Checkpoint/CheckpointMaterial.ts:276
↓ 3 callersFunctionbuildCompositionGroupFromCtx
(ctx: BuildCtx, objDef: ObjectDef)
src/viz/levelDef/editorNodeFactory.ts:169
↓ 3 callersFunctionbuildInstance
(transform?: Transform3, existingIds?: Iterable<string>)
src/geoscript/geotoyAPIClient.ts:178
↓ 3 callersFunctionbuildLeafNode
(ctx: BuildCtx, assetId: string, def: ObjectDef)
src/viz/levelDef/editorNodeFactory.ts:32
↓ 3 callersFunctionbuildLegacyRootTree
(source: string)
src/geoscript/geotoyAPIClient.ts:187
↓ 3 callersFunctionbuildReverseColorRampGenerator
(fnName: string, p: ReverseColorRampParams)
src/viz/shaders/reverseColorRamp.ts:24
↓ 3 callersFunctionbuild_arc_segment
( start: Vec2, end: Vec2, rx: f32, ry: f32, x_axis_rotation: f32, large_arc: bool, sweep: bool,
src/viz/wasm/geoscript/src/builtins/trace_path.rs:3007
↓ 3 callersFunctionbuild_no_fn_def_found_err
( ctx: &EvalCtx, fn_name: &str, args: &[Value], kwargs: &FxHashMap<Sym, Value>, defs: &[FnSignature]
src/viz/wasm/geoscript/src/lib.rs:1173
↓ 3 callersFunctionbuild_segment_dicts
Builds tagged-dict `Value::Map` representations of every segment in a path tracer, in subpath order with the path's transform applied. Returns one di
src/viz/wasm/geoscript/src/builtins/trace_path.rs:2220
↓ 3 callersFunctioncallable_is_dyn_for_const_eval
(callable: &Callable, allow_rng_const_eval: bool)
src/viz/wasm/geoscript/src/ast.rs:525
↓ 3 callersFunctioncapturePlacement
(ctx: StructuralCtx, node: LevelSceneNode)
src/viz/levelDef/editorStructuralOps.ts:104
↓ 3 callersFunctioncartesian_vector_to_barycentric
(vert_coords: &[Vec3; 3], face_vec: Vec3)
src/viz/wasm/mesh/src/csg.rs:513
↓ 3 callersFunctionchebyshev_nodes
Computes Chebyshev nodes mapped to [0, 1]. These nodes are denser near the endpoints and sparser in the middle.
src/viz/wasm/geoscript/src/mesh_ops/rail_sweep.rs:1771
↓ 3 callersFunctioncheckVec3
( field: 'extVelAirDamping' | 'extVelAirIdleDamping' | 'extVelGroundDamping', recorded: [number, numbe
src/viz/flightRecorder.ts:682
↓ 3 callersFunctionclearPhysicsBindings
( object: THREE.Object3D, fpCtx: PhysicsBindingCtx, opts: { meshesOnly?: boolean } = {} )
src/viz/util/physics.ts:39
↓ 3 callersFunctionclipper2_boolean_flat
( op: number, fillRule: number, subjectCoords: Float32Array, subjectPathLengths: Uint32Array, clipCo
src/viz/wasm/clipper2/clipper2.ts:40
↓ 3 callersFunctionclipper2_clear_output_flat
()
src/viz/wasm/clipper2/clipper2.ts:82
↓ 3 callersFunctionclipper2_get_is_loaded
()
src/viz/wasm/clipper2/clipper2.ts:29
↓ 3 callersFunctionclipper2_get_output_path_lengths_flat
()
src/viz/wasm/clipper2/clipper2.ts:75
↓ 3 callersFunctioncoincident_normal_groups
Groups verts by bit-exact position, keeping only positions shared by >1 vert (seam clones and crease splits), and returns each group's shading normals
src/viz/wasm/geoscript/src/mesh_ops/rail_sweep.rs:2736
↓ 3 callersFunctioncollect_vertex_set
used only by wasm-gated path_boolean
src/viz/wasm/geoscript/src/builtins/path_critical_points.rs:33
↓ 3 callersMethodcompute_centroid
Computes the centroid of the mesh using the best available method based on mesh topology. For closed 2-manifold meshes, uses volume centroid (center
src/viz/wasm/mesh/src/linked_mesh.rs:4197
↓ 3 callersMethodcompute_edge_displacement_normals
(&mut self)
src/viz/wasm/mesh/src/linked_mesh.rs:1976
↓ 3 callersFunctionconnect_hexes
Connects two hexagons by generating the side faces between them. We need to make sure that the mesh remains manifold, so we have to split the side fa
src/viz/wasm/basalt/src/lib.rs:21
↓ 3 callersFunctioncopyDefined
( out: Dst, src: Src, keys: readonly CopyableKeys<Src, Dst>[] )
src/viz/materials/buildMaterial.ts:40
↓ 3 callersFunctioncraftInvokerFunction
(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc, /** boolean= */ isAsync)
src/viz/wasm/uv_unwrap/uv-unwrap.js:1577
↓ 3 callersFunctioncraftInvokerFunction
(humanName, argTypes, classType, cppInvokerFunc, cppTargetFunc, /** boolean= */ isAsync)
src/viz/wasm/cgal/index.js:1543
↓ 3 callersFunctioncreateSignboard
({ width = 2, height = 1, depth = 0.2, text, fontSize = 16, fontFamily = 'Hack, Roboto Mono, Couri
src/viz/helpers/signboardBuilder.ts:20
↓ 3 callersFunctioncreate_manifold
(_vertices: &[f32], _indices: &[u32])
src/viz/wasm/geoscript/src/mesh_ops/mesh_boolean.rs:43
↓ 3 callersFunctioncubic_bezier_aabb
Returns the analytic 2D AABB of a cubic bezier with the given control points. Solves the quadratic dB/dt = 0 per component for interior extrema (up t
src/viz/wasm/geoscript/src/builtins/trace_path.rs:1231
↓ 3 callersFunctiondeconstify_parent_scope
If there's an assignment performed to a variable in the parent scope from within one of the conditional blocks, we can no longer depend on knowing the
src/viz/wasm/geoscript/src/optimizer.rs:1528
↓ 3 callersMethoddefine_destructure_pattern
( &mut self, pattern: &DestructurePattern, loc: SourceLoc, kind: SymbolKind, ty: AbstractT
src/viz/wasm/geoscript_analysis/src/analysis.rs:300
↓ 3 callersMethoddefine_symbol
(&mut self, name: Sym, loc: SourceLoc, kind: SymbolKind, ty: AbstractType)
src/viz/wasm/geoscript_analysis/src/analysis.rs:154
↓ 3 callersMethoddeleteSelected
()
src/viz/levelDef/LevelEditor.svelte.ts:1343
← previousnext →601–700 of 4,627, ranked by callers