Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.sunflow.core.accel.UniformGrid
Constructor Summary | |
Method Summary | |
void |
|
void |
|
public void build(PrimitiveList primitives)
Construct an acceleration structure for the specified primitive list.
- Specified by:
- build in interface AccelerationStructure
- Parameters:
primitives
-
public void intersect(Ray r, IntersectionState state)
Intersect the specified ray with the geometry in local space. The ray will be provided in local space.
- Specified by:
- intersect in interface AccelerationStructure
- Parameters:
r
- ray in local space