MCPcopy Create free account

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

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

↓ 914 callersMethodpush
(&self, mesh: T)
src/viz/wasm/geoscript/src/lib.rs:1506
↓ 789 callersMethodresolve
(&'a self, args: &'a [Value], kwargs: &'a FxHashMap<Sym, Value>)
src/viz/wasm/geoscript/src/lib.rs:1126
↓ 649 callersMethodlen
(&self)
src/viz/wasm/geoscript/src/lib.rs:1514
↓ 419 callersMethodset
(&self, handle: usize)
src/viz/wasm/geoscript/src/lib.rs:526
↓ 354 callersMethodclone
(&self, retain_manifold_handle: bool, retain_aabb: bool, retain_trimesh: bool)
src/viz/wasm/geoscript/src/lib.rs:602
↓ 349 callersMethodadd
Add a location and return its SourceLoc index. `line`/`col` are in rewritten-source coords (as Pest reports them); they're translated through the acti
src/viz/wasm/geoscript/src/lib.rs:1854
↓ 326 callersMethodas_float
(&self)
src/viz/wasm/geoscript/src/lib.rs:862
↓ 246 callersMethodget
(&self)
src/viz/wasm/geoscript/src/lib.rs:522
↓ 204 callersMethodget_global
(&self, arg: &str)
src/viz/wasm/geoscript/src/lib.rs:3739
↓ 162 callersFunctionparse_and_eval_program
(src: impl Into<String>)
src/viz/wasm/geoscript/src/lib.rs:3960
↓ 155 callersMethodas_int
(&self)
src/viz/wasm/geoscript/src/lib.rs:926
↓ 149 callersMethodis_empty
(&self)
src/viz/wasm/mesh/src/linked_mesh.rs:3214
↓ 142 callersMethodinsert
(&mut self, key: u128, value: Value, rng_end_state: Option<Pcg32>)
src/viz/wasm/geoscript/src/lib.rs:803
↓ 140 callersMethodas_vec2
(&self)
src/viz/wasm/geoscript/src/lib.rs:905
↓ 125 callersMethodas_str
(&self)
src/viz/wasm/geoscript/src/lib.rs:946
↓ 125 callersFunctionbuildCustomShader
( props: CustomShaderProps = {}, shaders?: CustomShaderShaders, opts?: CustomShaderOptions )
src/viz/shaders/customShader.ts:2266
↓ 117 callersMethodpush
(&mut self, key: FaceKey, normal: Vec3, cos0: f32, cos1: f32, data: &mut [FaceShading])
src/viz/wasm/mesh/src/linked_mesh.rs:300
↓ 115 callersMethodas_vec3
(&self)
src/viz/wasm/geoscript/src/lib.rs:912
↓ 113 callersFunctionassert_vec2_close
(actual: Vec2, expected: Vec2)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:3389
↓ 106 callersMethodwrap
(mut self, msg: impl Into<String>)
src/viz/wasm/geoscript/src/lib.rs:154
↓ 98 callersMethodscale
()
src/viz/levelDef/LevelEditor.svelte.ts:629
↓ 97 callersMethodhas
(&'b self, name: Sym)
src/viz/wasm/geoscript/src/ast.rs:2605
↓ 91 callersMethodobject
()
src/viz/gizmos/targets.ts:21
↓ 90 callersMethodnext
(&mut self)
src/viz/wasm/geoscript/src/seq.rs:25
↓ 88 callersMethodas_bool
(&self)
src/viz/wasm/geoscript/src/lib.rs:933
↓ 88 callersMethodclone
(recursive?: boolean)
src/viz/parkour/DashToken.ts:108
↓ 84 callersMethodnorm
Returns the norm (length) of the vector.
src/viz/wasm/geoscript/src/mesh_ops/adaptive_sampler.rs:109
↓ 82 callersMethodslice
Returns the sub-segment covering the native-parameter range `[u, v]` (with `0 <= u <= v <= 1`), preserving the curve type exactly (lines stay lines, b
src/viz/wasm/geoscript/src/builtins/trace_path.rs:1035
↓ 75 callersMethodborrow
(&self)
src/viz/wasm/geoscript/src/lib.rs:1518
↓ 75 callersMethodinto_inner
(self)
src/viz/wasm/geoscript/src/lib.rs:1510
↓ 73 callersMethodcontains
(&self, name: Sym)
src/viz/wasm/geoscript/src/type_infer.rs:81
↓ 72 callersMethodinto_iter
(self)
src/viz/wasm/geoscript/src/seq.rs:40
↓ 69 callersMethodget
()
src/viz/levelDef/csgResolveRuntime.ts:10
↓ 65 callersMethodremove
()
src/viz/sceneRuntime/types.ts:25
↓ 64 callersFunctionidentity
()
src/geoscript/treeCodegen.test.ts:45
↓ 61 callersMethodaddPass
(pass: Pass, index?: number)
src/viz/passes/stableDepthComposer.ts:75
↓ 60 callersMethodas_callable
(&self)
src/viz/wasm/geoscript/src/lib.rs:898
↓ 59 callersMethodas_mesh
(&self)
src/viz/wasm/geoscript/src/lib.rs:870
↓ 58 callersMethodparse
(value: &Value, fn_name: &str)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:126
↓ 56 callersMethodget
Reads a slot as a fixed-width float vector (unused lanes zeroed) so the propagation math can stay arity-agnostic; `set` writes back only the lanes thi
src/viz/wasm/mesh/src/linked_mesh.rs:534
↓ 55 callersMethodas_sequence
(&self)
src/viz/wasm/geoscript/src/lib.rs:884
↓ 55 callersMethodtraverse
(&self, cb: &mut impl FnMut(&Self))
src/viz/wasm/geoscript/src/ast.rs:940
↓ 54 callersMethodclear
(&mut self)
src/viz/wasm/flight_recorder/src/lib.rs:147
↓ 54 callersMethodpop
()
src/viz/bulletHell/Scheduler.ts:60
↓ 53 callersMethoddestroy
(obj: any)
src/ammojs/ammoTypes.ts:320
↓ 53 callersMethodwith_loc
(mut self, line: u32, col: u32)
src/viz/wasm/geoscript/src/lib.rs:161
↓ 52 callersMethodas_ref
(&'a self)
src/viz/wasm/geoscript/src/ast.rs:2562
↓ 50 callersMethodinvoke_callable
( &self, callable: &Rc<Callable>, args: &[Value], kwargs: &FxHashMap<Sym, Value>, )
src/viz/wasm/geoscript/src/lib.rs:3066
↓ 49 callersMethodget
(&self, index: usize)
src/viz/wasm/geoscript/src/mesh_ops/extrude_pipe.rs:44
↓ 47 callersFunctioncb
(curTimeSeconds: number)
src/viz/scenes/stone/stone.ts:564
↓ 46 callersFunctionloadTexture
( loader: THREE.ImageBitmapLoader, url: string, { mapping = THREE.UVMapping, wrapS = THREE.Repea
src/viz/textureLoading.ts:30
↓ 45 callersMethodconsume
(&self, _ctx: &EvalCtx)
src/viz/wasm/geoscript/src/seq.rs:49
↓ 45 callersMethodintern
(&self, name: &str)
src/viz/wasm/geoscript/src/lib.rs:1717
↓ 45 callersFunctionparse_program_src
(ctx: &EvalCtx, src: &'a str)
src/viz/wasm/geoscript/src/lib.rs:3745
↓ 42 callersMethodsample
(&self, t: f32)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:2107
↓ 40 callersMethodinsert
(&mut self, key: Vec<u32>, val: &V, val_bytes: usize)
src/viz/wasm/geoscript/src/builtins/flat_memo.rs:32
↓ 39 callersFunctionoptimize_ast
(ctx: &EvalCtx, ast: &mut Program)
src/viz/wasm/geoscript/src/optimizer.rs:1806
↓ 39 callersFunctionround
(n: number)
src/viz/levelDef/mathUtils.ts:2
↓ 38 callersFunctiongetMesh
(group: THREE.Group, name: string)
src/viz/util/three.ts:15
↓ 36 callersMethodclone
* Create a shallow clone of `this` by constructing a new instance * and then shallow cloning data members.
src/api/runtime.ts:245
↓ 36 callersFunctionf
(n: number)
src/viz/materials/Checkpoint/CheckpointMaterial.ts:203
↓ 35 callersFunctionfn_sigs
()
src/viz/wasm/geoscript/src/builtins/fn_defs.rs:10997
↓ 35 callersMethodlen
(&self)
src/viz/wasm/flight_recorder/src/lib.rs:187
↓ 34 callersFunctionthrowBindingError
src/viz/wasm/uv_unwrap/uv-unwrap.js:681
↓ 33 callersFunctionfetch
()
geoscript_backend/text-to-path/index.ts:340
↓ 33 callersFunctiongenerateNormalMapFromTexture
( texture: THREE.Texture, { mapping = THREE.UVMapping, wrapS = THREE.RepeatWrapping, wrapT = T
src/viz/textureLoading.ts:182
↓ 32 callersMethodfold
( &'a self, initial_val: Value, callable: &Rc<Callable>, seq: Rc<dyn Sequence>, )
src/viz/wasm/geoscript/src/lib.rs:2683
↓ 32 callersFunctionget_builtin_fn_sig_entry_ix
(name: &str)
src/viz/wasm/geoscript/src/builtins/fn_defs.rs:11001
↓ 32 callersMethodhover
Get hover information at a given source location.
src/viz/wasm/geoscript_analysis/src/lib.rs:166
↓ 32 callersFunctionparse_and_eval_program_with_ctx
( src: String, ctx: &EvalCtx, include_prelude: bool, )
src/viz/wasm/geoscript/src/lib.rs:3945
↓ 31 callersMethodresolve_loc
Resolve a SourceLoc to (line, col). Returns (0, 0) for unknown locations.
src/viz/wasm/geoscript/src/lib.rs:2117
↓ 30 callersMethodsplit
(breaks: number[], target: SplitFrustum[])
src/viz/shadows/CascadedShadowMap.ts:37
↓ 30 callersFunctionthrowBindingError
src/viz/wasm/cgal/index.js:635
↓ 29 callersMethodas_single_arg_type
Extract a single concrete ArgType, or None for Union/Unknown/PartiallyApplied. Callable values report as `ArgType::Callable` so they satisfy callable-
src/viz/wasm/geoscript/src/ty.rs:65
↓ 29 callersFunctioncreateNode
(tree: TreeDef, opts: CreateNodeOpts = {})
src/viz/scenes/geoscriptPlayground/treeOps.ts:98
↓ 28 callersMethodas_bitflags
(&self)
src/viz/wasm/geoscript/src/lib.rs:993
↓ 28 callersMethodnorm_squared
(&self)
src/viz/wasm/geoscript/src/mesh_ops/adaptive_sampler.rs:120
↓ 27 callersFunctionanalyze
(src: &str)
src/viz/wasm/geoscript_analysis/src/lib.rs:206
↓ 27 callersFunctionapiFetch
( path: string, options: RequestInit = {}, fetch: typeof globalThis.fetch = globalThis.fetch, binary =
src/geoscript/geotoyAPIClient.ts:221
↓ 27 callersFunctioninstrument_handler
( endpoint_name: &'static str, handler: H, )
geoscript_backend/src/server.rs:80
↓ 27 callersFunctionresolve
(name: string, chain: string[])
src/viz/levelDef/materialExtends.server.ts:44
↓ 27 callersMethodsize
src/viz/wasm/geodesics/src/AmbiVector_PATCH.h:61
↓ 27 callersMethodto_raw_indexed
( &self, include_shading_normals: bool, include_displacement_normals: bool, include_degenerate
src/viz/wasm/mesh/src/linked_mesh.rs:2661
↓ 26 callersMethodas_literal
(&self)
src/viz/wasm/geoscript/src/ast.rs:533
↓ 26 callersMethodisSome
()
src/viz/util/AsyncOnce.ts:19
↓ 26 callersFunctionoptimize_expr
( ctx: &EvalCtx, local_scope: &'a mut ScopeTracker, expr: &mut Expr, allow_rng_const_eval: bool, )
src/viz/wasm/geoscript/src/optimizer.rs:734
↓ 25 callersFunctioninfer_expr
Infer the abstract type of an expression in the given environment. Mutates `env` transiently for blocks / closures but restores it before returning.
src/viz/wasm/geoscript/src/type_infer.rs:461
↓ 25 callersFunctionscanSource
(source: string)
src/geoscript/gizmoScan.ts:108
↓ 25 callersMethodset
(&mut self, row: usize, col: usize, cost: f32, came_from: DpMove)
src/viz/wasm/geoscript/src/mesh_ops/fku_stitch.rs:165
↓ 24 callersFunctionapply_transform_to_point
Applies a 2D affine transform (3x3 homogeneous matrix) to a point. Returns the point unchanged if the matrix is identity.
src/viz/wasm/geoscript/src/builtins/trace_path.rs:325
↓ 24 callersFunctionisLevelGroup
(n: LevelSceneNode)
src/viz/levelDef/levelSceneTypes.ts:66
↓ 23 callersFunctioncheck
(field: keyof ReplayValidationConfig, recorded: number, current: number, tol = 1e-6)
src/viz/flightRecorder.ts:671
↓ 22 callersFunctionas_path_sampler
(callable: &Callable)
src/viz/wasm/geoscript/src/builtins/trace_path.rs:401
↓ 22 callersFunctionbuildAndAdd3DVicsekFractal
( viz: Viz, pos: THREE.Vector3, scale: number, iterations: number, material: THREE.Material, mutat
src/viz/scenes/smoke/3DvicsekFractal.ts:55
↓ 22 callersMethodexit
()
src/viz/levelDef/csgEditController.svelte.ts:300
↓ 22 callersFunctionisObjectGroup
(n: ObjectDef | ObjectGroupDef)
src/viz/levelDef/levelDefTreeUtils.ts:5
↓ 22 callersMethodmark_edge_sharpness
(&mut self, sharp_edge_threshold_rads: f32)
src/viz/wasm/mesh/src/linked_mesh.rs:1994
↓ 22 callersMethodpush_back
( &self, poly: Polygon, back_key: NodeKey, nodes: &mut NodeMap, mesh: &mut LinkedMesh<Face
src/viz/wasm/mesh/src/csg.rs:104
↓ 22 callersFunctionvp
(m: &LinkedMesh<()>, v: VertexKey)
src/viz/wasm/geoscript/src/mesh_ops/strip_uvs.rs:108
↓ 21 callersMethodadvance
(&mut self, n: usize)
src/viz/wasm/geoscript/src/preprocess.rs:276
next →1–100 of 4,627, ranked by callers