Package org.sunflow.core.photonmap
Class GlobalPhotonMap.NearestPhotons
- java.lang.Object
-
- org.sunflow.core.photonmap.GlobalPhotonMap.NearestPhotons
-
- Enclosing class:
- GlobalPhotonMap
private static class GlobalPhotonMap.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(GlobalPhotonMap.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 GlobalPhotonMap.Photon[] index
-
-
Constructor Detail
-
NearestPhotons
NearestPhotons(Point3 p, int n, float maxDist2)
-
-
Method Detail
-
reset
void reset(Point3 p, float maxDist2)
-
checkAddNearest
void checkAddNearest(GlobalPhotonMap.Photon p)
-
-