📄 globalphotonmapinterface.java
字号:
package org.sunflow.core;
import org.sunflow.image.Color;
import org.sunflow.math.Point3;
import org.sunflow.math.Vector3;
/**
* Represents a global photon map. This is a structure which can return a rough
* approximation of the diffuse radiance at a given surface point.
*/
public interface GlobalPhotonMapInterface extends PhotonStore {
/**
* Lookup the global diffuse radiance at the specified surface point.
*
* @param p surface position
* @param n surface normal
* @return an approximation of global diffuse radiance at this point
*/
public Color getRadiance(Point3 p, Vector3 n);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -