MCPcopy Index your code

hub / github.com/fogleman/fauxgl / functions

Functions285 in github.com/fogleman/fauxgl

↓ 65 callersFunctionV
(x, y, z float64)
vector.go:12
↓ 36 callersMethodNormalize
()
vector.go:83
↓ 32 callersFunctionNewTriangleForPoints
(p1, p2, p3 Vector)
triangle.go:13
↓ 29 callersMethodMulScalar
(b float64)
color.go:101
↓ 24 callersMethodSub
(b Color)
color.go:81
↓ 23 callersMethodAdd
(b *Mesh)
mesh.go:49
↓ 22 callersMethodDot
(b Vector)
vector.go:72
↓ 21 callersMethodMax
(b Color)
color.go:117
↓ 17 callersFunctionNewTriangleMesh
(triangles []*Triangle)
mesh.go:23
↓ 16 callersFunctionNewLineForPoints
(p1, p2 Vector)
line.go:11
↓ 15 callersMethodDrawMesh
(mesh *Mesh)
context.go:435
↓ 15 callersMethodMin
(b Color)
color.go:113
↓ 15 callersFunctionNewTriangle
(v1, v2, v3 Vertex)
triangle.go:7
↓ 14 callersFunctionHexColor
(x string)
color.go:31
↓ 14 callersFunctionLookAt
(eye, center, up Vector)
matrix.go:95
↓ 14 callersMethodVector
()
vector.go:208
↓ 13 callersMethodAdd
(other RasterizeInfo)
context.go:33
↓ 13 callersMethodImage
()
context.go:83
↓ 13 callersMethodMulScalar
(b float64)
vector.go:128
↓ 13 callersFunctionNewContext
(width, height int)
context.go:60
↓ 13 callersFunctionSavePNG
(path string, im image.Image)
util.go:56
↓ 13 callersMethodSize
()
box.go:45
↓ 12 callersMethodAdd
(b Vector)
vector.go:96
↓ 12 callersFunctionNewPhongShader
(matrix Matrix, lightDirection, cameraPosition Vector)
shader.go:61
↓ 12 callersMethodPerspective
(fovy, aspect, near, far float64)
matrix.go:167
↓ 12 callersFunctionRadians
(degrees float64)
util.go:15
↓ 11 callersMethodDistance
(b Vector)
vector.go:52
↓ 11 callersFunctionGray
(x float64)
color.go:21
↓ 10 callersMethodClearColorBufferWith
(color Color)
context.go:119
↓ 10 callersMethodDivScalar
(b float64)
color.go:105
↓ 10 callersFunctionInterpolateVertexes
(v1, v2, v3 Vertex, b VectorW)
vertex.go:18
↓ 10 callersMethodMulPosition
(b Vector)
matrix.go:209
↓ 10 callersMethodTransform
(m Matrix)
box.go:91
↓ 9 callersMethodBiUnitCube
()
mesh.go:127
↓ 9 callersMethodFloor
()
vector.go:148
↓ 9 callersMethodMul
(b Matrix)
matrix.go:188
↓ 9 callersFunctionmakeFloat
(b []byte)
stl.go:82
↓ 8 callersMethodAdd
(b Color)
color.go:77
↓ 8 callersMethodNormal
()
triangle.go:33
↓ 8 callersMethodSub
(b Vector)
vector.go:100
↓ 7 callersMethodAdd
(d Cell)
examples/pipes.go:47
↓ 7 callersMethodCross
(b Vector)
vector.go:76
↓ 7 callersFunctiontimed
(name string)
examples/magica.go:28
↓ 6 callersFunctionLoadMesh
(path string)
util.go:31
↓ 6 callersFunctionLoadSTL
(path string)
stl.go:23
↓ 6 callersFunctiontimed
(name string)
examples/silhouette.go:27
↓ 6 callersFunctiontimed
(name string)
examples/dragon.go:32
↓ 5 callersMethodFixNormals
()
triangle.go:46
↓ 5 callersFunctionMakeColor
(c color.Color)
color.go:25
↓ 5 callersMethodMulDirection
(b Vector)
matrix.go:224
↓ 5 callersMethodMulPositionW
(b Vector)
matrix.go:216
↓ 5 callersMethodNegate
()
vector.go:88
↓ 5 callersFunctionNewSolidColorShader
(matrix Matrix, color Color)
shader.go:16
↓ 5 callersMethodOutside
()
vertex.go:14
↓ 5 callersFunctionRotate
(v Vector, a float64)
matrix.go:36
↓ 5 callersFunctionScale
(v Vector)
matrix.go:28
↓ 5 callersMethodVertex
(Vertex)
shader.go:6
↓ 5 callersMethodpointInFront
(v VectorW)
clipping.go:16
↓ 4 callersMethodBoundingBox
()
mesh.go:153
↓ 4 callersMethodCeil
()
vector.go:152
↓ 4 callersFunctionClamp
(x, lo, hi float64)
util.go:74
↓ 4 callersMethodCopy
()
mesh.go:35
↓ 4 callersFunctionLatLngToXYZ
(lat, lng float64)
util.go:23
↓ 4 callersFunctionLoadOBJ
(path string)
obj.go:19
↓ 4 callersMethodMoveTo
(position, anchor Vector)
mesh.go:132
↓ 4 callersFunctionNewLineMesh
(lines []*Line)
mesh.go:27
↓ 4 callersFunctionParseFloats
(items []string)
util.go:65
↓ 4 callersMethodPow
(b float64)
color.go:109
↓ 4 callersMethodSaveSTL
(path string)
mesh.go:203
↓ 4 callersMethodScale
(v Vector)
matrix.go:147
↓ 4 callersMethodSmoothNormals
()
mesh.go:105
↓ 4 callersMethodSmoothNormalsThreshold
(radians float64)
mesh.go:90
↓ 4 callersFunctionTranslate
(v Vector)
matrix.go:20
↓ 4 callersMethodTranslate
(v Vector)
box.go:60
↓ 4 callersMethoddirty
()
mesh.go:31
↓ 4 callersFunctionedge
(a, b, c Vector)
context.go:147
↓ 4 callersMethodintersectSegment
(v0, v1 VectorW)
clipping.go:20
↓ 4 callersMethodline
(v0, v1 Vertex, s0, s1 Vector)
context.go:283
↓ 3 callersMethodAdd
(b VectorW)
vector.go:221
↓ 3 callersMethodArea
()
triangle.go:39
↓ 3 callersFunctionBarycentric
(p1, p2, p3, p Vector)
vertex.go:81
↓ 3 callersMethodBoundingBox
()
line.go:17
↓ 3 callersMethodClearColorBuffer
()
context.go:133
↓ 3 callersMethodClearDepthBuffer
()
context.go:143
↓ 3 callersMethodExtend
(b Box)
box.go:49
↓ 3 callersMethodFitInside
(box Box, anchor Vector)
mesh.go:142
↓ 3 callersFunctionIdentity
()
matrix.go:12
↓ 3 callersFunctionInterpolateVectors
(v1, v2, v3 Vector, b VectorW)
vertex.go:65
↓ 3 callersFunctionMakeEdge
(a, b Vector)
examples/silhouette.go:86
↓ 3 callersMethodMul
(b Color)
color.go:85
↓ 3 callersMethodNRGBA
()
color.go:56
↓ 3 callersFunctionNewEmptyMesh
()
mesh.go:15
↓ 3 callersFunctionNewLine
(v1, v2 Vertex)
line.go:7
↓ 3 callersFunctionRoundPlaces
(a float64, places int)
util.go:109
↓ 3 callersMethodVector
()
examples/pipes.go:55
↓ 3 callersFunctionparseIndex
(value string, length int)
obj.go:10
↓ 3 callersMethodrasterize
(v0, v1, v2 Vertex, s0, s1, s2 Vector)
context.go:151
↓ 3 callersFunctionsmoothNormalsThreshold
(normal Vector, normals []Vector, threshold float64)
mesh.go:80
↓ 2 callersMethodAlpha
(alpha float64)
color.go:69
↓ 2 callersMethodAnchor
(anchor Vector)
box.go:37
next →1–100 of 285, ranked by callers