MCPcopy Create free account

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

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

↓ 10 callersMethodget_edge_key
(&self, mut vertices: [VertexKey; 2])
src/viz/wasm/mesh/src/linked_mesh.rs:2943
↓ 10 callersFunctioninitPylonsPostprocessing
( viz: Viz, vizConf: VizConfig, autoUpdateShadowMap = false, postprocessingParamOverrides: Partial<Con
src/viz/scenes/pkPylons/postprocessing.ts:11
↓ 10 callersFunctionisOpNode
(node: CsgTreeNode)
src/viz/levelDef/csgTreeUtils.ts:3
↓ 10 callersMethodmerge_vertices_by_distance
(&mut self, max_distance: f32)
src/viz/wasm/mesh/src/linked_mesh.rs:1520
↓ 10 callersFunctionregisterType
@param {Object=} options
src/viz/wasm/uv_unwrap/uv-unwrap.js:753
↓ 10 callersFunctionregisterType
@param {Object=} options
src/viz/wasm/cgal/index.js:707
↓ 10 callersMethodreqJson
As `fetchOk`, but parses and returns the JSON body (null on any failure).
src/viz/levelDef/levelEditorApi.ts:42
↓ 10 callersMethodrequest
(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction)
src/api/runtime.ts:135
↓ 10 callersMethodsetTarget
(target: GizmoTarget | null)
src/viz/gizmos/customGizmo.ts:150
↓ 10 callersMethodtotal
(&self)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:46
↓ 10 callersMethodvalue
()
src/api/runtime.ts:395
↓ 10 callersFunctionvec_f32
(vals: number[] | Float32Array)
src/viz/wasm/cgal/cgal.ts:63
↓ 10 callersFunctionverify_cgal_loaded
()
src/viz/wasm/geoscript/src/mesh_ops/mesh_ops.rs:152
↓ 9 callersFunctionbuildGeotoyUndoSystem
()
src/viz/scenes/geoscriptPlayground/treeUndoSystem.ts:55
↓ 9 callersFunctionbuild_topology_samples
( sample_count: usize, guides: Option<&[f32]>, interval_weights: Option<&[f32]>, include_end: bool, )
src/viz/wasm/geoscript/src/builtins/trace_path.rs:528
↓ 9 callersMethodclear
()
src/viz/levelDef/SelectionManager.svelte.ts:146
↓ 9 callersMethodcompute_vertex_displacement_normals
Computes displacement normals for all vertices, replacing any existing values.
src/viz/wasm/mesh/src/linked_mesh.rs:2467
↓ 9 callersMethoddefault
()
src/viz/wasm/mesh/src/csg.rs:71
↓ 9 callersFunctionembind__requireFunction
(signature, rawFunction)
src/viz/wasm/uv_unwrap/uv-unwrap.js:1360
↓ 9 callersFunctionfract
scripts/pomMarcherHarness/marchers.mjs:8
↓ 9 callersFunctionndcToRay
( ndc: { x: number; y: number }, camera: THREE.Camera, out: THREE.Ray = new THREE.Ray() )
src/viz/gizmos/dragMath.ts:13
↓ 9 callersMethodopen
(initialSelectedId?: string | null)
src/viz/levelDef/materialEditorController.ts:26
↓ 9 callersFunctionparametric_surface
Allows creating any genus 0 or 1 surface (generalized spheres or tori) by mapping a 2D plane parameterized by (`u`, `v`) each in [0, 1] to 3D position
src/viz/wasm/geoscript/src/mesh_ops/parametric_surface.rs:114
↓ 9 callersFunctionpos
(m: THREE.Matrix4)
src/geoscript/runner/bakeComposition.test.ts:36
↓ 9 callersFunctionpush_f64_bits
(key: &mut Vec<u32>, val: f64)
src/viz/wasm/geoscript/src/builtins/flat_memo.rs:50
↓ 9 callersFunctionrail_sweep
( spine_points: &[Vec3], ring_resolution: usize, frame_mode: FrameMode, closed: bool, capped: bool,
src/viz/wasm/geoscript/src/mesh_ops/rail_sweep.rs:1126
↓ 9 callersMethodreduce
( &'a self, fn_value: &Rc<Callable>, seq: Rc<dyn Sequence>, )
src/viz/wasm/geoscript/src/lib.rs:2731
↓ 9 callersMethodremoveCollisionObject
(obj: BtCollisionObject)
src/ammojs/ammoTypes.ts:223
↓ 9 callersFunctionsetOutputMeshFromCGALMesh
(mesh: any)
src/viz/wasm/cgal/cgal.ts:94
↓ 9 callersMethodsetPosition
(x: number, y: number, z: number)
src/viz/audio/SoundEngine.ts:174
↓ 9 callersMethodset_u32
(&mut self, key: &[u8], v: u32)
src/viz/wasm/flight_recorder/src/lib.rs:110
↓ 9 callersFunctionwrite_u32
(buf: &mut Vec<u8>, v: u32)
src/viz/wasm/flight_recorder/src/lib.rs:415
↓ 8 callersFunctionHEAPF32
()
src/viz/wasm/cgal/cgal.ts:47
↓ 8 callersMethodaddHandle
( mode: GizmoMode, parent: THREE.Group, id: GizmoHandleId, visualGeom: THREE.BufferGeometry,
src/viz/gizmos/customGizmo.ts:230
↓ 8 callersFunctionarc_point
( center: Vec2, rx: f32, ry: f32, cos_phi: f32, sin_phi: f32, theta_start: f32, theta_delta: f32
src/viz/wasm/geoscript/src/builtins/trace_path.rs:2988
↓ 8 callersFunctionassignMaterial
(object: THREE.Object3D, mat: THREE.Material)
src/viz/levelDef/levelObjectUtils.ts:70
↓ 8 callersFunctionat
(x: number, y: number, z: number)
src/geoscript/runner/worldMatrixCache.test.ts:11
↓ 8 callersFunctionbuildCGALPolymesh
(verts: Float32Array, indices: Uint32Array)
src/viz/wasm/cgal/cgal.ts:40
↓ 8 callersFunctionbuildMaterial
( matDef: MaterialDef, textures: ReadonlyMap<string, THREE.Texture> )
src/viz/materials/buildMaterial.ts:215
↓ 8 callersFunctioncheckBool
(field: keyof ReplayValidationConfig, recorded: boolean, current: boolean)
src/viz/flightRecorder.ts:677
↓ 8 callersFunctionclose
(a: number, b: number, eps = 1e-4)
src/viz/gizmos/dragMath.test.ts:25
↓ 8 callersMethodcloseEditor
()
src/viz/levelDef/csgEditController.svelte.ts:336
↓ 8 callersFunctioncompute_centroid
(vertices: &[Vec3])
src/viz/wasm/geoscript/src/mesh_ops/helpers.rs:21
↓ 8 callersFunctionconst_eval_cache_get
(ctx: &EvalCtx, lookup: ConstEvalCacheLookup)
src/viz/wasm/geoscript/src/optimizer.rs:56
↓ 8 callersFunctionconst_eval_cache_lookup_with
( ctx: &EvalCtx, allow_rng_const_eval: bool, hash_fn: impl FnOnce(&mut SipHasher, &mut bool) -> Option<(
src/viz/wasm/geoscript/src/optimizer.rs:37
↓ 8 callersFunctionconst_eval_cache_store
(ctx: &EvalCtx, lookup: ConstEvalCacheLookup, value: Value)
src/viz/wasm/geoscript/src/optimizer.rs:64
↓ 8 callersMethoddrain
()
src/viz/levelDef/texturePool.ts:101
↓ 8 callersFunctionfmt
(n: number)
src/viz/levelDef/mathUtils.ts:5
↓ 8 callersMethodgetPosition
()
src/ammojs/ammoTypes.ts:114
↓ 8 callersFunctionhasAsset
(def: ObjectDef)
src/viz/levelDef/levelDefTreeUtils.ts:13
↓ 8 callersFunctioninitWebSynth
(args: { compositionIDToLoad?: number })
src/viz/webSynth.ts:15
↓ 8 callersMethodinto_abstract_type
Collapse a resolution into an abstract type as seen by a caller that doesn't care about the detailed matching info. `Matched` → its return type, `Par
src/viz/wasm/geoscript/src/type_infer.rs:119
↓ 8 callersMethoditer_faces
(&self)
src/viz/wasm/mesh/src/linked_mesh.rs:1072
↓ 8 callersMethodlength
(&self)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:799
↓ 8 callersFunctionmagnitude
(v: [f32; 3])
src/viz/wasm/normal_map_gen/src/lib.rs:145
↓ 8 callersFunctionmakeCamera
(pos: [number, number, number], lookAt: [number, number, number])
src/viz/gizmos/dragMath.test.ts:17
↓ 8 callersMethodmerge
(a: &AABB, b: &AABB)
src/viz/wasm/stone/src/aabb_tree.rs:17
↓ 8 callersFunctionmix
(x: number, y: number, a: number)
src/viz/util/util.ts:36
↓ 8 callersFunctionnormalize_guides
(guides: &[f32])
src/viz/wasm/geoscript/src/builtins/trace_path.rs:201
↓ 8 callersFunctionpath_boolean_impl
( ctx: &EvalCtx, def_ix: usize, arg_refs: &[ArgRef], args: &[Value], kwargs: &FxHashMap<Sym, Value>,
src/viz/wasm/geoscript/src/builtins/path_boolean.rs:370
↓ 8 callersMethodrecordEvent
(eventType: RecorderEventType, data?: number[])
src/viz/flightRecorder.ts:264
↓ 8 callersFunctionreifyInput
(v: InputValueJson)
src/viz/levelDef/inputInjection.ts:10
↓ 8 callersFunctionresolveCompositionMaterial
( levelMaterialNames: ReadonlySet<string>, materialMap: Record<string, string> | undefined, assetId: str
src/geoscript/runner/bakeComposition.ts:34
↓ 8 callersFunctionresolveTexture
(key: string | undefined)
src/viz/materials/buildMaterial.ts:91
↓ 8 callersMethodrng_state
(&self)
src/viz/wasm/geoscript/src/lib.rs:2084
↓ 8 callersMethodrun
(&self, ctx: &EvalCtx, program: &mut Program)
src/viz/wasm/geoscript/src/optimizer.rs:1774
↓ 8 callersMethodsample_subpaths
(&self, angle_tolerance: f32)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:2644
↓ 8 callersMethodsetOrigin
(vec: BtVec3)
src/ammojs/ammoTypes.ts:13
↓ 8 callersFunctionstackRestore
src/viz/wasm/uv_unwrap/uv-unwrap.js:484
↓ 8 callersFunctionstackSave
()
src/viz/wasm/uv_unwrap/uv-unwrap.js:486
↓ 8 callersFunctionsuperellipse_nodes
Convenience wrapper: derives `bevel_fraction` and `density` from a superellipse exponent.
src/viz/wasm/geoscript/src/mesh_ops/rail_sweep.rs:1864
↓ 8 callersFunctiontessellate_ring_cap_with_frame
( ring: &[Vec3], ring_start: usize, reverse_winding: bool, frame: &PlaneFrame, )
src/viz/wasm/geoscript/src/mesh_ops/tessellate_polygon.rs:175
↓ 8 callersFunctionwhenDependentTypesAreResolved
(myTypes, dependentTypes, getTypeConverters)
src/viz/wasm/uv_unwrap/uv-unwrap.js:696
↓ 8 callersFunctionwrite_f32
JSON has no NaN/Infinity — emit those as string tokens so bad values stay visible.
src/viz/wasm/geoscript/src/value_json.rs:191
↓ 7 callersMethodaddCollisionObject
(obj: BtCollisionObject, collisionFilterGroup: number, collisionFilterMask: number)
src/ammojs/ammoTypes.ts:222
↓ 7 callersMethodadd_source_loc
Add a source location to the map and return its SourceLoc index.
src/viz/wasm/geoscript/src/lib.rs:2122
↓ 7 callersMethodanalytic_aabb
Returns the exact AABB of this tracer's geometry, with its 2D affine transform applied. Errors only if the path contains arc segments and the transfo
src/viz/wasm/geoscript/src/builtins/trace_path.rs:1974
↓ 7 callersMethodattach
For non-LevelSceneNode targets (lights, CSG sub-meshes).
src/viz/levelDef/TransformHandler.ts:128
↓ 7 callersFunctionattachSubtree
(ctx: StructuralCtx, subtree: RuntimeSubtree)
src/viz/levelDef/editorStructuralOps.ts:142
↓ 7 callersFunctionbuildCustomBasicShader
( props: CustomBasicShaderProps = {}, shaders?: CustomBasicShaderShaders, opts?: CustomBasicShaderOption
src/viz/shaders/customBasicShader.ts:208
↓ 7 callersMethodcameraRayTest
( world: BtDiscreteDynamicsWorld, fromX: number, fromY: number, fromZ: number, toX: number, toY:
src/ammojs/ammoTypes.ts:161
↓ 7 callersFunctionclampf
(x: f32, lo: f32, hi: f32)
src/viz/wasm/sound_engine/src/lib.rs:31
↓ 7 callersMethoddeselect
()
src/viz/levelDef/LevelEditor.svelte.ts:922
↓ 7 callersFunctionembind__requireFunction
(signature, rawFunction)
src/viz/wasm/cgal/index.js:1326
↓ 7 callersFunctionextract_path_tracer
(callable: &'a Callable)
src/viz/wasm/geoscript/src/builtins.rs:6863
↓ 7 callersFunctionfail
(step, output, exitCode = 1)
scripts/check.mjs:47
↓ 7 callersFunctionfillet_polyline
( points: &[V], resolution: usize, closed: bool, clamp_radius: bool, mut get_radius: impl FnMut(usiz
src/viz/wasm/geoscript/src/builtins/fillet_path.rs:67
↓ 7 callersFunctionfn
({ physics, params })
src/levels/t/platforms.gen.ts:6
↓ 7 callersFunctionforEachMesh
(object: THREE.Object3D, cb: (mesh: THREE.Mesh) => void)
src/viz/levelDef/levelObjectUtils.ts:54
↓ 7 callersFunctionget
(key: &[u32])
src/viz/wasm/geoscript/src/builtins/offset_path.rs:93
↓ 7 callersFunctiongetAssetsDir
()
src/viz/levelDef/levelPaths.server.ts:26
↓ 7 callersFunctioninitBaseScene
(viz: Viz)
src/viz/util/three.ts:5
↓ 7 callersFunctionisGeneratedDef
(n: { userData?: Record<string, unknown> })
src/viz/levelDef/levelDefTreeUtils.ts:7
↓ 7 callersFunctionisTreeDefV1
(raw: unknown)
src/geoscript/geotoyAPIClient.ts:119
↓ 7 callersMethodis_nil
(&self)
src/viz/wasm/geoscript/src/lib.rs:942
↓ 7 callersFunctionput
(handle: string | undefined, tex: Tex, srgb = false)
src/geoscript/materials.ts:129
↓ 7 callersMethodrender
( renderer: THREE.WebGLRenderer, inputBuffer: THREE.WebGLRenderTarget, outputBuffer: THREE.WebGLRe
src/viz/passes/finalPass.ts:166
↓ 7 callersMethodresolve_curve_angle_degrees
A `curve_angle_degrees` arg: the explicit value if given, else the runtime default (`set_curve_angle_threshold`, seeded by the prelude).
src/viz/wasm/geoscript/src/lib.rs:3294
↓ 7 callersFunctionseq_as_eager
(seq: &'a dyn Sequence)
src/viz/wasm/geoscript/src/lib.rs:229
↓ 7 callersMethodsetMetadataString
(key: string, value: string)
src/viz/flightRecorder.ts:218
← previousnext →201–300 of 4,627, ranked by callers