⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bucketorder.java

📁 Sunflow是一个照片级的渲染系统
💻 JAVA
字号:
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);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -