/* (non-Javadoc)
* @see ca.eandb.jmist.framework.path.PathNode#sample(ca.eandb.jmist.framework.Random)
*/
public ScatteredRay sample(double ru, double rv, double rj) {
ScatteredRay sr = inner.sample(ru, rv, rj);
return sr != null ? sr.transform(localToWorld) : null;
}
/* (non-Javadoc)
* @see ca.eandb.jmist.framework.path.PathNode#scatter(ca.eandb.jmist.math.Vector3)
*/