Package org.joml.sampling
Interface Callback2d
public interface Callback2d
Callback used for notifying about a new generated 2D sample.
- Author:
- Kai Burjack
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewSample
(float x, float y) Will be called whenever a new sample with the given coordinates(x, y)
is generated.
-
Method Details
-
onNewSample
void onNewSample(float x, float y) Will be called whenever a new sample with the given coordinates(x, y)
is generated.- Parameters:
x
- the x coordinate of the new sample pointy
- the y coordinate of the new sample point
-