accelerationstructure.java

来自「Sunflow是一个照片级的渲染系统」· Java 代码 · 共 19 行

JAVA
19
字号
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 + =
减小字号Ctrl + -
显示快捷键?