📄 accelerationstructure.java
字号:
package org.sunflow.core;
public interface AccelerationStructure {
/**
* Construct an acceleration structure for the specified primitive list.
*
* @param primitives
*/
public void build(PrimitiveList primitives);
/**
* Intersect the specified ray with the geometry in local space. The ray
* will be provided in local space.
*
* @param r ray in local space
* @param istate state to store the intersection into
*/
public void intersect(Ray r, IntersectionState istate);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -