Package org.sunflow.core.photonmap
Class CausticPhotonMap.NearestPhotons
- java.lang.Object
-
- org.sunflow.core.photonmap.CausticPhotonMap.NearestPhotons
-
- Enclosing class:
- CausticPhotonMap
private static class CausticPhotonMap.NearestPhotons extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NearestPhotons(Point3 p, int n, float maxDist2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
checkAddNearest(CausticPhotonMap.Photon p)
(package private) void
reset(Point3 p, float maxDist2)
-
-
-
Field Detail
-
found
int found
-
px
float px
-
py
float py
-
pz
float pz
-
max
private int max
-
gotHeap
private boolean gotHeap
-
dist2
protected float[] dist2
-
index
protected CausticPhotonMap.Photon[] index
-
-
Constructor Detail
-
NearestPhotons
NearestPhotons(Point3 p, int n, float maxDist2)
-
-
Method Detail
-
reset
void reset(Point3 p, float maxDist2)
-
checkAddNearest
void checkAddNearest(CausticPhotonMap.Photon p)
-
-