mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Add 32-bit float sort via SparkViewpooint.sort32, using 2-pass radix-65536 sort. Turn on sort32 by default for examples/editor. Implemented Rust sort and JS sort, updated benchmarking code to include float16 and float32 sort.
This commit is contained in:
committed by
Andreas Sundquist
parent
1b868e3f9a
commit
e82346cbd5
@@ -487,6 +487,8 @@
|
||||
stats.dom.style.display = value ? "block" : "none";
|
||||
});
|
||||
gui.add(spark.defaultView, "sortRadial").name("Radial sort").listen();
|
||||
spark.defaultView.sort32 = true;
|
||||
gui.add(spark.defaultView, "sort32").name("Float32 sort").listen();
|
||||
gui.add(grid, "opacity", 0, 1, 0.01).name("Grid opacity").listen();
|
||||
gui.add({
|
||||
logFocalDistance: 0.0,
|
||||
|
||||
Reference in New Issue
Block a user