|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Ray in tracer |
---|
Methods in tracer with parameters of type Ray | |
---|---|
boolean |
Triangle.hit(Ray r)
|
abstract boolean |
Traceable.hit(Ray r)
Returns a boolean indicating whether the line segment (r.origin + t*r.direction) with 0 <= t <= 1 intersects the object. |
boolean |
Sphere.hit(Ray r)
|
boolean |
Plane.hit(Ray r)
|
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)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |