org.sunflow.core.bucket
Class InvertedBucketOrder
java.lang.Objectorg.sunflow.core.bucket.InvertedBucketOrder
- BucketOrder
public class InvertedBucketOrder
extends java.lang.Object
int[] | getBucketSequence(int nbw, int nbh)- Computes the order in which each coordinate on the screen should be
visited.
|
InvertedBucketOrder
public InvertedBucketOrder(BucketOrder order)
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.