Sha256: 4f1798cb6a6ade36776d51a0548666c4bfab60822b8fa208b6e36e353131a48f

Contents?: true

Size: 715 Bytes

Versions: 6

Compression:

Stored size: 715 Bytes

Contents

package org.sunflow.core;

/**
 * Creates an array of coordinates that iterate over the tiled screen. Classes
 * which implement this interface are responsible for guarenteeing the entire
 * screen is tiled. No attempt is made to check for duplicates or incomplete
 * coverage.
 */
public interface BucketOrder {

    /**
     * Computes the order in which each coordinate on the screen should be
     * visited.
     *
     * @param nbw number of buckets in the X direction
     * @param nbh number of buckets in the Y direction
     * @return array of coordinates with interleaved X, Y of the positions of
     * buckets to be rendered.
     */
    int[] getBucketSequence(int nbw, int nbh);
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
joonsrenderer-1.3.1-java src/main/java/org/sunflow/core/BucketOrder.java
joonsrenderer-1.2.0-java src/main/java/org/sunflow/core/BucketOrder.java
joonsrenderer-1.1.3-java src/main/java/org/sunflow/core/BucketOrder.java
joonsrenderer-1.1.2-java src/main/java/org/sunflow/core/BucketOrder.java
joonsrenderer-1.1.1-java src/main/java/org/sunflow/core/BucketOrder.java
joonsrenderer-1.1-java src/main/java/org/sunflow/core/BucketOrder.java