armory/Sources/armory/renderpipeline/FFT.hx
2016-07-10 00:51:39 +02:00

26 lines
572 B
Haxe

package armory.renderpipeline;
import iron.node.RenderPath;
class FFT {
static var firstFrame = true;
// public static function init() {
// var res = 512;
// var phaseArray = new haxe.io.Float32Array(res * res * 4);
// for (i in 0...res) {
// for (j in 0...res) {
// phaseArray[i * res * 4 + j * 4] = Math.random() * 2.0 * Math.PI;
// phaseArray[i * res * 4 + j * 4 + 1] = 0;
// phaseArray[i * res * 4 + j * 4 + 2] = 0;
// phaseArray[i * res * 4 + j * 4 + 3] = 0;
// }
// }
// }
public static function run(path:RenderPath) {
}
}