public Vector3d GetFrontSurfaceSample(Vector2d sample) { if (random.NextDouble() < 0.5) { return(GenerateSampleAtStop(FrontStop, sample)); } else { return(Lens.GetFrontSurfaceSample(sample)); } }
public Vector3d GetFrontSurfaceSample(Vector2d sample) { if (random.NextDouble() < 0.5) { return(GenerateSampleAtStop(FrontStop, sample)); } else { return(Lens.GetFrontSurfaceSample(sample)); } }