Merge branch 'master' of git://factorcode.org/git/factor
commit
98a2f5152c
|
@ -1,10 +1,12 @@
|
||||||
! (c)Joe Groff bsd license
|
! (c)Joe Groff bsd license
|
||||||
USING: io kernel terrain.generation threads ;
|
USING: io kernel math.vectors.simd terrain.generation threads ;
|
||||||
|
FROM: alien.c-types => float ;
|
||||||
|
SIMD: float
|
||||||
IN: benchmark.terrain-generation
|
IN: benchmark.terrain-generation
|
||||||
|
|
||||||
: terrain-generation-benchmark ( -- )
|
: terrain-generation-benchmark ( -- )
|
||||||
"Generating terrain segment..." write flush yield
|
"Generating terrain segment..." write flush yield
|
||||||
<terrain> { 0 0 } terrain-segment drop
|
<terrain> float-4{ 0 0 0 1 } terrain-segment drop
|
||||||
"done" print ;
|
"done" print ;
|
||||||
|
|
||||||
MAIN: terrain-generation-benchmark
|
MAIN: terrain-generation-benchmark
|
||||||
|
|
Loading…
Reference in New Issue