Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aweary/ln.js
/ functions
Functions
296 in github.com/aweary/ln.js
⨍
Functions
296
◇
Types & classes
54
Method
compile
()
src/csg.ts:36
Method
compile
()
src/cone.ts:18
Method
compile
()
src/cylinder.ts:21
Method
compile
()
src/mesh.ts:29
Method
compile
()
src/function.ts:27
Method
compile
()
src/triangle.ts:37
Method
compile
()
src/shape.ts:27
Method
compile
()
src/shape.ts:50
Method
compile
()
src/cube.ts:18
Method
constructor
(center: Vector, radius: number)
src/sphere.ts:14
Method
constructor
(eye: Vector, up: Vector, center: Vector, radius: number)
src/sphere.ts:91
Method
constructor
(op: CSGOperation, a: ShapeT, b: ShapeT)
src/csg.ts:30
Method
constructor
(radius: number, height: number)
src/cone.ts:13
Method
constructor
(radius: number, z0: number, z1: number)
src/cylinder.ts:15
Method
constructor
(eye: Vector, up: Vector, radius: number, z0: number, z1: number)
src/cylinder.ts:83
Method
constructor
(v1: float32arr, v2: float32arr, v3: float32arr)
src/stl.ts:8
Method
constructor
(triangles: Triangle[])
src/mesh.ts:21
Method
constructor
()
src/set.ts:8
Method
constructor
(x: number, y: number, z: number)
src/vector.ts:8
Method
constructor
(origin: Vector, direction: Vector)
src/ray.ts:8
Method
constructor
(matrix: Matrix, eye: Vector, scene: Scene)
src/filter.ts:14
Method
constructor
()
src/scene.ts:15
Method
constructor
(min?: Vector, max?: Vector)
src/box.ts:13
Method
constructor
(fn: ShapeFn, box: Box, direction: Direction)
src/function.ts:21
Method
constructor
(v1: Vector, v2: Vector, v3: Vector)
src/triangle.ts:15
Method
constructor
(shapes: Array<ShapeT>)
src/tree.ts:11
Method
constructor
(shapes: Array<ShapeT>)
src/tree.ts:34
Method
constructor
(shape: ShapeT, matrix: Matrix)
src/shape.ts:21
Method
constructor
( x00?: number, x01?: number, x02?: number, x03?: number, x10?: number, x11?: number,
src/matrix.ts:26
Method
constructor
(min: Vector, max: Vector)
src/cube.ts:12
Method
constructor
(point: Vector, normal: Vector)
src/plane.ts:12
Method
contains
(v: Vector, f: number)
src/sphere.ts:39
Method
contains
(v: Vector, f: number)
src/cone.ts:27
Method
contains
(v: Vector, f: number)
src/cylinder.ts:32
Method
contains
(v: Vector, f: number)
src/mesh.ts:40
Method
contains
(b: Vector)
src/box.ts:31
Method
contains
(v: Vector, f: number)
src/triangle.ts:45
Method
contains
(v: Vector, f: number)
src/shape.ts:35
Method
contains
(v: Vector, f: number)
src/shape.ts:59
Method
contains
(v: Vector, f: number)
src/cube.ts:26
Function
db
(a,b,c)
docs/assets/js/main.js:1
Method
divScalar
(b: number)
src/vector.ts:92
Method
filter
(v: Vector)
src/csg.ts:75
Method
filter
(v: Vector)
src/filter.ts:20
Function
filterPaths
(p: Paths, f: FilterT)
src/paths.ts:33
Function
filterPaths
(p: Path, f: FilterT)
src/path.ts:46
Method
frustrum
( l: number, r: number, b: number, t: number, n: number, f: number )
src/matrix.ts:74
Method
hashCode
()
src/vector.ts:14
Method
intersect
(r: Ray)
src/sphere.ts:43
Method
intersect
(r: Ray)
src/csg.ts:57
Method
intersect
(ray: Ray)
src/cone.ts:32
Method
intersect
(ray: Ray)
src/cylinder.ts:40
Method
intersect
(r: Ray)
src/mesh.ts:44
Method
intersect
(r: Ray)
src/box.ts:49
Method
intersect
(ray: Ray)
src/function.ts:42
Method
intersect
(r: Ray)
src/triangle.ts:49
Method
intersect
(r: Ray)
src/tree.ts:18
Method
intersect
(r: Ray, tmin: number, tmax: number)
src/tree.ts:42
Method
intersect
(r: Ray)
src/shape.ts:39
Method
intersect
(r: Ray)
src/shape.ts:63
Method
intersect
(r: Ray)
src/cube.ts:39
Function
lb
(a)
docs/assets/js/main.js:1
Function
lerp
(min: number, max: number, t: number)
src/math.ts:25
Function
loadOBJ
(data: string)
src/obj.ts:17
Method
max
(b: Vector)
src/vector.ts:104
Method
minAxis
()
src/vector.ts:111
Method
orthographic
( l: number, r: number, b: number, t: number, n: number, f: number )
src/matrix.ts:85
Method
partition
(axis: Axis, point: number)
src/box.ts:70
Method
paths
()
src/sphere.ts:63
Method
paths
()
src/sphere.ts:97
Method
paths
()
src/csg.ts:68
Method
paths
()
src/cone.ts:69
Method
paths
()
src/cylinder.ts:68
Method
paths
()
src/cylinder.ts:89
Method
paths
()
src/mesh.ts:52
Method
paths
()
src/function.ts:54
Method
paths
()
src/triangle.ts:86
Method
paths
()
src/shape.ts:43
Method
paths
()
src/shape.ts:67
Method
paths
()
src/cube.ts:54
Function
registerComponent
(constructor,selector,priority,namespace)
docs/assets/js/main.js:5
Function
registerService
(constructor,name,priority)
docs/assets/js/main.js:5
Function
res
()
docs/assets/js/main.js:5
Method
saveBinarySTL
(path: string)
src/mesh.ts:105
Function
shape
(x: number, y: number)
demos/function.ts:3
Function
simplify
(p: Paths, threshold: number)
src/paths.ts:41
Function
simplify
(p: Path, threshold: number)
src/path.ts:67
Function
toSVG
(p: Paths, width: number, height: number)
src/paths.ts:49
Function
toSVG
(p: Path)
src/path.ts:91
Method
toString
()
src/vector.ts:19
Method
toString
()
src/triangle.ts:22
Function
transform
(p: Paths, matrix: Matrix)
src/paths.ts:17
Function
transform
(p: Path, matrix: Matrix)
src/path.ts:17
Method
transpose
()
src/matrix.ts:188
Method
updateBoundingBox
()
src/triangle.ts:32
Method
voxelize
(size: number)
src/mesh.ts:110
← previous
201–296 of 296, ranked by callers