fix benchmark.terrain-generation
parent
a8cf31d125
commit
6022a0f5d9
|
@ -1,10 +1,12 @@
|
|||
! (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
|
||||
|
||||
: terrain-generation-benchmark ( -- )
|
||||
"Generating terrain segment..." write flush yield
|
||||
<terrain> { 0 0 } terrain-segment drop
|
||||
<terrain> float-4{ 0 0 0 1 } terrain-segment drop
|
||||
"done" print ;
|
||||
|
||||
MAIN: terrain-generation-benchmark
|
||||
|
|
Loading…
Reference in New Issue