public interface AccelerationStructure
Modifier and Type | Method and Description |
---|---|
void |
build(PrimitiveList primitives)
Construct an acceleration structure for the specified primitive list.
|
void |
intersect(Ray r,
IntersectionState istate)
Intersect the specified ray with the geometry in local space.
|
void build(PrimitiveList primitives)
primitives
- void intersect(Ray r, IntersectionState istate)
r
- ray in local spaceistate
- state to store the intersection into