Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fogleman/fauxgl
/ functions
Functions
285 in github.com/fogleman/fauxgl
⨍
Functions
285
◇
Types & classes
41
↓ 2 callers
Method
BilinearSample
(u, v float64)
texture.go:10
↓ 2 callers
Method
DrawLine
(t *Line)
context.go:351
↓ 2 callers
Method
DrawLines
(lines []*Line)
context.go:391
↓ 2 callers
Method
DrawTriangles
(triangles []*Triangle)
context.go:413
↓ 2 callers
Function
Frustum
(l, r, b, t, n, f float64)
matrix.go:69
↓ 2 callers
Method
Get
(c Cell)
examples/pipes.go:92
↓ 2 callers
Method
Length
()
vector.go:38
↓ 2 callers
Method
Less
(b Vector)
vector.go:42
↓ 2 callers
Function
LoadImage
(path string)
util.go:46
↓ 2 callers
Function
LoadPLY
(path string)
ply.go:71
↓ 2 callers
Function
LoadTexture
(path string)
texture.go:13
↓ 2 callers
Method
Max
(b Vector)
vector.go:144
↓ 2 callers
Method
Mesh
()
examples/pipes.go:59
↓ 2 callers
Method
Min
(b Vector)
vector.go:140
↓ 2 callers
Function
NewCube
()
shapes.go:16
↓ 2 callers
Function
NewMesh
(triangles []*Triangle, lines []*Line)
mesh.go:19
↓ 2 callers
Function
NewPipe
(cell Cell)
examples/pipes.go:123
↓ 2 callers
Function
Orient
(position, size, up Vector, rotation float64)
matrix.go:61
↓ 2 callers
Method
Perpendicular
()
vector.go:179
↓ 2 callers
Method
RandomEmptyCell
()
examples/pipes.go:82
↓ 2 callers
Method
Set
(c Cell)
examples/pipes.go:102
↓ 2 callers
Method
Sub
(d Cell)
examples/pipes.go:51
↓ 2 callers
Method
Transform
(matrix Matrix)
mesh.go:167
↓ 2 callers
Function
createVoxelOutline
(plane voxelPlane, i0, j0, i1, j1 float64)
voxel.go:321
↓ 2 callers
Method
drawClippedLine
(v0, v1 Vertex)
context.go:303
↓ 2 callers
Method
drawClippedTriangle
(v0, v1, v2 Vertex)
context.go:316
↓ 2 callers
Function
loadPlyBinary
(file *os.File, elements []plyElement, order binary.ByteOrder)
ply.go:184
↓ 2 callers
Function
readPlyFloat
(file *os.File, order binary.ByteOrder, dataType plyDataType)
ply.go:243
↓ 2 callers
Function
readPlyInt
(file *os.File, order binary.ByteOrder, dataType plyDataType)
ply.go:238
↓ 2 callers
Function
timed
(name string)
cmd/mesh2stl/main.go:11
↓ 1 callers
Method
Abs
()
vector.go:92
↓ 1 callers
Method
AddScalar
(b float64)
color.go:93
↓ 1 callers
Method
ClearDepthBufferWith
(value float64)
context.go:137
↓ 1 callers
Function
ClipLine
(l *Line)
clipping.go:76
↓ 1 callers
Function
ClipTriangle
(t *Triangle)
clipping.go:54
↓ 1 callers
Method
Determinant
()
matrix.go:259
↓ 1 callers
Method
DistanceSquared
(b Vector)
vector.go:60
↓ 1 callers
Method
Div
(b Color)
color.go:89
↓ 1 callers
Method
DrawTriangle
(t *Triangle)
context.go:370
↓ 1 callers
Method
Fragment
(Vertex)
shader.go:7
↓ 1 callers
Method
GetMesh
()
examples/pipes.go:157
↓ 1 callers
Function
InterpolateColors
(v1, v2, v3 Color, b VectorW)
vertex.go:57
↓ 1 callers
Function
InterpolateVectorWs
(v1, v2, v3, b VectorW)
vertex.go:73
↓ 1 callers
Method
Intersects
(b Box)
box.go:76
↓ 1 callers
Method
LengthSquared
()
vector.go:56
↓ 1 callers
Method
Lerp
(b Color, t float64)
color.go:73
↓ 1 callers
Method
Load
()
examples/pipes.go:76
↓ 1 callers
Function
Load3DS
(filename string)
3ds.go:9
↓ 1 callers
Function
LoadVOX
(path string)
vox.go:25
↓ 1 callers
Function
MakeSegment
(p0, p1 Vector, r float64, c Color)
examples/pipes.go:106
↓ 1 callers
Method
MinComponent
()
vector.go:167
↓ 1 callers
Method
MulBox
(box Box)
matrix.go:231
↓ 1 callers
Method
MulScalar
(b float64)
vector.go:229
↓ 1 callers
Function
NewCylinder
(step int, capped bool)
shapes.go:135
↓ 1 callers
Function
NewGrid
(w, h, d int)
examples/pipes.go:71
↓ 1 callers
Function
NewIcosahedron
()
shapes.go:189
↓ 1 callers
Function
NewImageTexture
(im image.Image)
texture.go:27
↓ 1 callers
Function
NewLatLngSphere
(latStep, lngStep int)
shapes.go:71
↓ 1 callers
Function
NewTextureShader
(matrix Matrix, texture Texture)
shader.go:35
↓ 1 callers
Function
NewVoxelMesh
(voxels []Voxel)
voxel.go:42
↓ 1 callers
Function
Orthographic
(l, r, b, t, n, f float64)
matrix.go:81
↓ 1 callers
Method
Orthographic
(l, r, b, t, n, f float64)
matrix.go:163
↓ 1 callers
Function
Perspective
(fovy, aspect, near, far float64)
matrix.go:89
↓ 1 callers
Function
RandomColor
()
examples/pipes.go:27
↓ 1 callers
Function
RandomUnitVector
()
vector.go:16
↓ 1 callers
Method
Reflect
(n Vector)
vector.go:175
↓ 1 callers
Function
RotateTo
(a, b Vector)
matrix.go:48
↓ 1 callers
Method
RotateTo
(a, b Vector)
matrix.go:155
↓ 1 callers
Function
Round
(a float64)
util.go:101
↓ 1 callers
Method
RoundPlaces
(n int)
vector.go:160
↓ 1 callers
Function
SaveSTL
(path string, mesh *Mesh)
stl.go:156
↓ 1 callers
Function
Screen
(w, h int)
matrix.go:119
↓ 1 callers
Method
Silhouette
(eye Vector, offset float64)
mesh.go:207
↓ 1 callers
Method
Simplify
(factor float64)
mesh.go:183
↓ 1 callers
Method
SubScalar
(b float64)
color.go:97
↓ 1 callers
Method
Translate
(v Vector)
matrix.go:143
↓ 1 callers
Method
Update
(grid *Grid)
examples/pipes.go:129
↓ 1 callers
Function
Viewport
(x, y, w, h float64)
matrix.go:130
↓ 1 callers
Function
combineVoxelFaces
(faces []voxelFace)
voxel.go:101
↓ 1 callers
Function
ensureGray16
(im image.Image)
examples/heightmap.go:30
↓ 1 callers
Function
fineMesh
(mesh *Mesh, threshold float64)
examples/silhouette.go:74
↓ 1 callers
Function
fineTriangle
(buf []*Triangle, t *Triangle, threshold float64)
examples/silhouette.go:37
↓ 1 callers
Function
heightmapMesh
(im image.Image, xScale, yScale, zScale float64)
examples/heightmap.go:41
↓ 1 callers
Function
loadPlyAscii
(file *os.File, elements []plyElement)
ply.go:141
↓ 1 callers
Function
loadSTLA
(file *os.File)
stl.go:59
↓ 1 callers
Function
loadSTLB
(file *os.File)
stl.go:86
↓ 1 callers
Function
newSphereHelper
(detail int, v1, v2, v3 Vector)
shapes.go:119
↓ 1 callers
Function
outlineVoxelFaces
(plane voxelPlane, faces []voxelFace)
voxel.go:236
↓ 1 callers
Function
readFaceList
(file *os.File, vertices []Vector)
3ds.go:150
↓ 1 callers
Function
readNullTerminatedString
(file *os.File)
3ds.go:167
↓ 1 callers
Function
readSmoothingGroups
(file *os.File, triangles []*Triangle)
3ds.go:75
↓ 1 callers
Function
readVertexList
(file *os.File)
3ds.go:134
↓ 1 callers
Function
render
(mesh *Mesh)
examples/simplify.go:26
↓ 1 callers
Function
run
(inputPath, outputPath string, xScale, yScale, zScale float64)
examples/heightmap.go:76
↓ 1 callers
Function
silhouette
(mesh *Mesh, eye Vector, offset float64)
silhouette.go:3
↓ 1 callers
Function
sutherlandHodgman
(points []VectorW, planes []clipPlane)
clipping.go:28
↓ 1 callers
Function
triangulateVoxelFaces
(plane voxelPlane, faces []voxelFace)
voxel.go:193
↓ 1 callers
Method
wireframe
(v0, v1, v2 Vertex, s0, s1, s2 Vector)
context.go:296
Function
AbsInt
(x int)
util.go:94
Method
AddScalar
(b float64)
vector.go:120
← previous
next →
101–200 of 285, ranked by callers