MCPcopy Create free account

hub / github.com/LanJian/godray / functions

Functions31 in github.com/LanJian/godray

↓ 20 callersMethodScale
(factor float64)
src/godray/color.go:18
↓ 13 callersMethodAdd
(c2 *Color)
src/godray/color.go:47
↓ 12 callersMethodDot
(b *Vector)
src/godray/algebra.go:38
↓ 10 callersMethodNormalize
()
src/godray/algebra.go:50
↓ 9 callersMethodMaterial
()
src/godray/geometry.go:11
↓ 8 callersMethodSubtract
(b *Point)
src/godray/algebra.go:26
↓ 7 callersFunctionclamp
(min, max, num float64)
src/godray/color.go:29
↓ 5 callersMethodMultiply
(c color.Color)
src/godray/color.go:17
↓ 4 callersFunctionNewSphere
(center *Point, radius float64, material *Material)
src/godray/geometry.go:28
↓ 3 callersMethodMagnitude
()
src/godray/algebra.go:55
↓ 3 callersMethodNormal
(p *Point)
src/godray/geometry.go:40
↓ 3 callersFunctionmultiply
(a, b float64)
src/godray/color.go:25
↓ 2 callersFunctiongetClosestIntersection
(ray *Ray, objects []Object)
src/main.go:22
↓ 1 callersMethodAdd
(b *Vector)
src/godray/algebra.go:18
↓ 1 callersMethodCross
(b *Vector)
src/godray/algebra.go:42
↓ 1 callersMethodGetRayTo
(screen *Screen, u int, v int)
src/godray/camera.go:19
↓ 1 callersMethodIntersect
(*Ray)
src/godray/geometry.go:10
↓ 1 callersFunctionNewCamera
(position *Point, view *Vector, up *Vector)
src/godray/camera.go:11
↓ 1 callersFunctionraytrace
(ray *Ray, lights []*Light, objects []Object, depth int)
src/main.go:43
↓ 1 callersMethodside
()
src/godray/camera.go:15
MethodAdd
(b *Vector)
src/godray/algebra.go:22
MethodIntersect
(r *Ray)
src/godray/geometry.go:44
MethodMaterial
()
src/godray/geometry.go:32
MethodMultiply
(c2 *Color)
src/godray/color.go:33
MethodNormal
(*Point)
src/godray/geometry.go:13
MethodScale
(scalar float64)
src/godray/color.go:61
MethodScale
(s float64)
src/godray/algebra.go:34
MethodSetMaterial
(*Material)
src/godray/geometry.go:12
MethodSetMaterial
(material *Material)
src/godray/geometry.go:36
MethodSubtract
(b *Vector)
src/godray/algebra.go:30
Functionmain
()
src/main.go:116