org.sunflow.core.bucket
Class RowBucketOrder
java.lang.Object
org.sunflow.core.bucket.RowBucketOrder
- BucketOrder
public class RowBucketOrder
extends java.lang.Object
int[] | getBucketSequence(int nbw, int nbh) - Computes the order in which each coordinate on the screen should be
visited.
|
getBucketSequence
public int[] getBucketSequence(int nbw,
int nbh)
Computes the order in which each coordinate on the screen should be
visited.
- getBucketSequence in interface BucketOrder
nbw
- number of buckets in the X directionnbh
- number of buckets in the Y direction
- array of coordinates with interleaved X, Y of the positions of
buckets to be rendered.