|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IntersectionInfo in tracer |
---|
Methods in tracer that return IntersectionInfo | |
---|---|
IntersectionInfo |
Triangle.intersect(Ray r)
|
abstract IntersectionInfo |
Traceable.intersect(Ray r)
Returns an IntersectionInfo object indicating whether the ray r intersects this object or not. |
IntersectionInfo |
Sphere.intersect(Ray r)
|
IntersectionInfo |
Plane.intersect(Ray r)
|
Methods in tracer with parameters of type IntersectionInfo | |
---|---|
Vec3 |
Ray.localLight(IntersectionInfo info,
Light light,
Vec3 color)
Calculates the local light term, given an IntersectionInfo and a Light. |
Vec3 |
Ray.textureMap(IntersectionInfo info)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |